Skip to Content
Flash® CS4 for Dummies®
book

Flash® CS4 for Dummies®

by Ellen Finkelstein, Gurdy Leete
October 2008
Intermediate to advanced
414 pages
9h 23m
English
For Dummies
Content preview from Flash® CS4 for Dummies®

Chapter 6. Layering It On

In This Chapter

  • Creating layers

  • Modifying layers

  • Using guide layers

  • Creating holes with mask layers

Flash lets you organize objects on the Stage in layers. Layers keep objects separated from each other. Flash either combines or creates cutouts when two objects overlap if you don't use the object-drawing model (as we explain in Chapter 3). By placing the two objects on different layers, though, you avoid this behavior yet retain the appearance of overlapping objects. In addition, by rearranging your layers, you can easily rearrange the order of your objects — that is, which objects appear to be on top and which appear to be on the bottom.

Layers are also necessary for error-free animation. To move one object across the Stage in front of other objects, such as a background, you need to put the object on its own layer. If you want to animate several objects across the Stage, put each object on a separate layer.

You can hide layers. Flash doesn't display objects on hidden layers. Hidden layers are great for hiding some objects temporarily while you figure out what to do with all the rest of the stuff on the Stage.

Layering It On

Finally, you use layers as a storage place for sounds and ActionScript code. For example, you can name a layer Music and put your music there. Then you can easily find the music if you want to change it. Layers provide a great way to keep the various components ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.

Read now

Unlock full access

More than 5,000 organizations count on O’Reilly

AirBnbBlueOriginElectronic ArtsHomeDepotNasdaqRakutenTata Consultancy Services

QuotationMarkO’Reilly covers everything we've got, with content to help us build a world-class technology community, upgrade the capabilities and competencies of our teams, and improve overall team performance as well as their engagement.
Julian F.
Head of Cybersecurity
QuotationMarkI wanted to learn C and C++, but it didn't click for me until I picked up an O'Reilly book. When I went on the O’Reilly platform, I was astonished to find all the books there, plus live events and sandboxes so you could play around with the technology.
Addison B.
Field Engineer
QuotationMarkI’ve been on the O’Reilly platform for more than eight years. I use a couple of learning platforms, but I'm on O'Reilly more than anybody else. When you're there, you start learning. I'm never disappointed.
Amir M.
Data Platform Tech Lead
QuotationMarkI'm always learning. So when I got on to O'Reilly, I was like a kid in a candy store. There are playlists. There are answers. There's on-demand training. It's worth its weight in gold, in terms of what it allows me to do.
Mark W.
Embedded Software Engineer

You might also like

Adobe Acrobat 8 How-Tos: 125 Essential Techniques

Adobe Acrobat 8 How-Tos: 125 Essential Techniques

Donna L. Baker
Adobe® Flash® CS4 Professional Bible

Adobe® Flash® CS4 Professional Bible

Robert Reinhardt, Snow Dowd
Mastering Maya® 2009

Mastering Maya® 2009

Eric Keller, Eric Allen, Anthony Honn
Introducing 3ds Max® 2008

Introducing 3ds Max® 2008

Dariush Derakhshani, Randi L. Munn

Publisher Resources

ISBN: 9780470381199Purchase book