Easy-to-follow video tutorials help you learn software, creative, and business skills.Become a member

Understanding pages and layers

From: Flash Catalyst CS5 Essential Training

Video: Understanding pages and layers

In general, the more time that you spend working on the structure and organization of your artwork before you get started in Flash Catalyst, the easier of a time you'll have building your project. One of the most basic ways to organize any piece of artwork is by using layers. However, when it comes to working with Flash Catalyst projects, we also have another concept called pages. Let's take a look at an overall project and see how we might use both layers and also pages to make it work. Now, I'm here inside of Illustrator working on a file called olive_tour, and I'd like to use Flash Catalyst to build a project that will allow people to take an interactive tour to see how olive oil is made at this particular olive farm.

Understanding pages and layers

In general, the more time that you spend working on the structure and organization of your artwork before you get started in Flash Catalyst, the easier of a time you'll have building your project. One of the most basic ways to organize any piece of artwork is by using layers. However, when it comes to working with Flash Catalyst projects, we also have another concept called pages. Let's take a look at an overall project and see how we might use both layers and also pages to make it work. Now, I'm here inside of Illustrator working on a file called olive_tour, and I'd like to use Flash Catalyst to build a project that will allow people to take an interactive tour to see how olive oil is made at this particular olive farm.

I have a map that visually shows what the olive farm looks like and I'd like to take people through the five stages involved in the production of olive oil at this particular farm. So I'll turn off these three layers here, Border, Navigation and Panels, and you'll see that I have a Background layer. After I drew all these graphics, I actually converted them all to one large raster image. From a performance standpoint, it will be a lot easier to display one image than have to worry about displaying so many paths and vector objects that make up all this artwork.

Next, I added a layer called Border which appears at the top part of my document and that contains elements like the frame that goes around the entire piece of artwork, the header text that appears over here and also the logo of this farm. As an aside, I actually converted this logo to a symbol here inside of Illustrator, because on import into Flash Catalyst, symbols automatically become optimized graphics. Again, that will make this application load much faster and more efficiently in a web browser.

Next, I added some navigation, after all, I need ways for someone to interact with this and actually go through the different steps that are involved inside of this interactive tour. If I reveal the contents of the Navigation layer, I'll see that I have a button specified for the Growing step, the Picking step, the Extracting, Bottling, and Tasting steps as well. Notice that I have a sublayer that I've created for each of these buttons. Inside of that, I have the different elements that I might use for rollovers and other possible states of my button.

I'll set it back to its original setting and close it for now. Finally, I've created a separate layer that has the real content over here; the panels. Each panel goes through the exact process and explains what each of these steps are. I have one for Growing. I have one for Picking, for Extracting, and then I have Bottling and Tasting as well. Let's focus on the first one here called Growing. Obviously, right now, it's very difficult for you to see this information on the background of the map.

So what I've done is created a separate layer here called Screen, which is simply a black rectangle that has an opacity setting applied to it. This allows me to see the map partially through it, but it also allows me to read this information clearly. I'm going to hide this information for now, but the first thing I want to discuss is, why did I actually create each of these panels on layers, instead of creating multiple artboards inside of Illustrator? After all, we know that if I create multiple artboards in Illustrator, and then I then bring that document into Flash Catalyst, those will automatically be converted into separate pages.

In theory, when I click on one button, I would like to transfer or move to another page that has the information about that part of process. Now eventually, when I get into Flash Catalyst, I will need to create separate pages for this. However now, inside of Illustrator, I'm thinking about how this application is eventually going to run in a web browser. When a user interacts with this application, I want them to click on a button and then I want that actual panel that describes that process to appear on top of the map.

That means the map should be visible in the background. Likewise, while they're in that one state of seeing the information, for example, about the growing, they may want to view information about a different part of the process, for example, Bottling or Tasting. So they'll need a way to navigate there. In other words, these buttons always have to be visible to allow a person to navigate between the different processes throughout the interactive tour. If I were to create multiple artboards, that would mean that in my document, I'd have many, many layers, because in Illustrator, all of your artboards share one collective layer structure.

So it's really important to think about how your application is going to be used before you start building it and bringing it into Flash Catalyst. For example, if I were building some kind of a project where one page had absolutely nothing to do with another page, rather than using layers, I might then use multiple artboards here inside of Illustrator for each of those pages. However here, it really makes sense for me to use one artboard, but just have multiple layers built so that I can keep things organized. In fact, let's see how that translates to working now inside of Flash Catalyst.

I'll switch over to Flash Catalyst and I'll choose to create a new project from an Adobe Illustrator file. I'll navigate to my Exercise Files and I'm going to choose in Chapter 5, to open up this Illustrator file called olive_tour and I'll click Open. I'm just going to use the default settings now for importing Illustrator artwork, so I'm going to click OK and now Flash Catalyst is going to analyze that Illustrator file and convert all of its elements into a Flash Catalyst project. The first thing that we want to look at is the layer structure.

After all, we built that very carefully inside of Illustrator. All the layers that I created, the Border layer, the Navigation layer that contains all the buttons, the Panels and the Background, are all here. But in this case, specifically, I want to focus on the panels because we're talking about how we want to structure our pages in our project. If we take a look at the top of my screen, I have something here called Pages and States. This is where I'll actually be working with my pages. Right now I only have one page in my document and it's called Page 1. However, I'm going to need to create multiple pages for each of the different parts of the process throughout this tour.

When someone first visits this interactive tour, I'd like them to see the entire map as we see it right now. So I'll definitely want to have this as one page in my project. However, I'm now going to need five additional pages, and each of those pages will focus on one part of the olive oil manufacturing process. Now as we discussed before, I do want the map and the buttons to be visible when I'm viewing the information about each individual process. If I take a look at the Pages/States panel, I'll see two buttons here on the bottom. One is called Duplicate State and one is called New Blank State.

By the way, it's somewhat confusing because Flash Catalyst sometimes refers to these as pages or states, and even though we're thinking about pages right now, the buttons talk about states. For the purpose of our training, these terms are really both interchangeable. However, when we think about it, pages usually refer to different parts of our application, whereas states usually refer to different parts of a component. Still, I have the ability to either duplicate my existing state or I can add a new blank state. If I add a new blank state at this point, and I know that I want to have the map and the buttons always visible, I'm going to have to add a new blank state, then go to my Layers panel and start turning a whole bunch of layers on.

So to prevent me from having to do extra work, I'll just simply press Duplicate State, to now create a second page in my project. The page is identical to the first, in that all elements and layers that were turned on in that previous layer are now visible in this page as well. I'll double-click in the Timelines panel just to hide it for now and if this were going to be second page my project, I'd like it to show the information for the Growing process. So notice that right now Page 2 is highlighted. It means I'm currently now on Page 2.

I'll go to my Layers panel and reveal the contents of the panels layer and I'll click on the eyeball here to show the elements in the Growing layer. Now remember, we also created this black background that we can use to make this text more readable. So I'll go down to the Screen layer and turn that one on as well. Now, I need to create a page for the next process, which is Picking. Once again, I'm going duplicate my state to create a new page. I want to leave the Screen layer on, so I'm just going to simply turn off the Growing layer and turn on the Picking layer.

I'll also go ahead now and add three new pages for the remaining parts of the tour. So I'll add three more states; one, two and three. I'll go to Page 4 right now. I'll turn off Picking and turn on Extracting. I'll go to Page 5, turn off Picking and turn on Bottling, and finally on Page 6, turn off Picking and turn on the Tasting. I can easily preview each of the pages in my project by clicking on the thumbnails here in the Pages and States panel. It's important to realize that really all that's changing here between these different pages, are different layers are either turned on or off.

Because I built my pages here inside of Flash Catalyst instead of inside of Illustrator, I'm dealing with one set of objects and layers here, instead of potentially having multiple objects on different layers. In other words, the Two Trees logo that you see right here, appears only once in my document, even though right now it does appear on every single page of my project. The same thing applies to the border, the map, and the buttons in the Navigation as well. So by taking the time to really think about my project in advance and building it carefully inside of Illustrator, I'm already well on my way to building a successful project in Flash Catalyst.

Show transcript

This video is part of

Image for Flash Catalyst CS5 Essential Training
Flash Catalyst CS5 Essential Training

66 video lessons · 19571 viewers

Mordy Golding
Author

 
Expand all | Collapse all
  1. 9m 24s
    1. Welcome
      1m 29s
    2. Key concepts
      4m 33s
    3. When should I use Flash Catalyst?
      2m 51s
    4. Using the exercise files
      31s
  2. 33m 12s
    1. Creating a new project
      5m 14s
    2. Defining components
      6m 26s
    3. Adding pages
      5m 41s
    4. Adding interaction
      6m 20s
    5. Adding transitions
      7m 12s
    6. Publishing options
      2m 19s
  3. 21m 37s
    1. Planning your project
      8m 11s
    2. Starting your project in Illustrator
      4m 9s
    3. Starting your project in Photoshop
      4m 22s
    4. Starting your project in Fireworks
      3m 10s
    5. Starting your project in Flash Catalyst
      1m 45s
  4. 30m 55s
    1. Understanding components
      5m 14s
    2. Creating a button component
      7m 10s
    3. Creating a checkbox component
      3m 55s
    4. Creating a radio button component
      5m 10s
    5. Creating a toggle button component
      2m 4s
    6. Creating a text input component
      1m 35s
    7. Creating horizontal and vertical slider components
      2m 46s
    8. Creating horizontal and vertical scrollbar components
      3m 1s
  5. 31m 55s
    1. Using the drawing and selection tools
      5m 52s
    2. Setting object properties
      4m 48s
    3. Importing artwork
      2m 27s
    4. Editing artwork in Illustrator
      6m 29s
    5. Editing artwork in Photoshop
      4m 27s
    6. Working with text
      3m 39s
    7. Optimizing artwork
      4m 13s
  6. 28m 56s
    1. Understanding pages and layers
      9m 50s
    2. Editing pages and states
      7m 24s
    3. Using grids, guides, and rulers
      1m 40s
    4. Aligning and arranging objects
      2m 27s
    5. Moving elements between pages and states
      4m 33s
    6. Using the Library panel
      3m 2s
  7. 54m 43s
    1. Understanding interaction types
      8m 24s
    2. Creating conditional interactions
      3m 6s
    3. Understanding the timeline
      7m 40s
    4. Creating smooth transitions
      7m 44s
    5. Defining Move transitions
      3m 33s
    6. Defining Resize transitions
      3m 53s
    7. Defining Rotate transitions
      2m 53s
    8. Defining Rotate 3D transitions
      3m 35s
    9. Adjusting basic timing
      5m 57s
    10. Creating an action sequence
      7m 58s
  8. 18m 11s
    1. Creating Flash video files
      3m 32s
    2. Placing video into a project
      3m 51s
    3. Controlling video playback
      3m 51s
    4. Adding sound effects
      3m 17s
    5. Integrating Flash content
      3m 40s
  9. 25m 53s
    1. Using a Data List to define repeating elements
      4m 11s
    2. Creating a basic Data List pt. 1: Building the components
      5m 31s
    3. Creating a basic Data List pt. 2: Adding the data
      3m 8s
    4. Planning a complex Data List
      1m 57s
    5. Creating a complex Data List pt. 1: Building the components
      6m 33s
    6. Creating a complex Data List pt. 2: Adding the data
      4m 33s
  10. 12m 14s
    1. Publishing an SWF file to view locally or offline
      2m 30s
    2. Publishing an SWF files to upload to the web
      2m 35s
    3. Integrating an SWF file into a web page with Dreamweaver
      2m 25s
    4. Integrating an SWF file into a web page with an HTML text editor
      2m 48s
    5. Publishing an Adobe AIR file
      1m 56s
  11. 7m 52s
    1. Creating custom components
      4m 27s
    2. Working with Library Packages
      1m 47s
    3. Using the Code view in Flash Catalyst
      1m 38s
  12. 22s
    1. Goodbye
      22s

Start learning today

Get unlimited access to all courses for just $25/month.

Become a member
Sometimes @lynda teaches me how to use a program and sometimes Lynda.com changes my life forever. @JosefShutter
@lynda lynda.com is an absolute life saver when it comes to learning todays software. Definitely recommend it! #higherlearning @Michael_Caraway
@lynda The best thing online! Your database of courses is great! To the mark and very helpful. Thanks! @ru22more
Got to create something yesterday I never thought I could do. #thanks @lynda @Ngventurella
I really do love @lynda as a learning platform. Never stop learning and developing, it’s probably our greatest gift as a species! @soundslikedavid
@lynda just subscribed to lynda.com all I can say its brilliant join now trust me @ButchSamurai
@lynda is an awesome resource. The membership is priceless if you take advantage of it. @diabetic_techie
One of the best decision I made this year. Buy a 1yr subscription to @lynda @cybercaptive
guys lynda.com (@lynda) is the best. So far I’ve learned Java, principles of OO programming, and now learning about MS project @lucasmitchell
Signed back up to @lynda dot com. I’ve missed it!! Proper geeking out right now! #timetolearn #geek @JayGodbold
Share a link to this course

What are exercise files?

Exercise files are the same files the author uses in the course. Save time by downloading the author's files instead of setting up your own files, and learn by following along with the instructor.

Can I take this course without the exercise files?

Yes! If you decide you would like the exercise files later, you can upgrade to a premium account any time.

Become a member Download sample files See plans and pricing

Please wait... please wait ...
Upgrade to get access to exercise files.

Exercise files video

How to use exercise files.

Learn by watching, listening, and doing, Exercise files are the same files the author uses in the course, so you can download them and follow along Premium memberships include access to all exercise files in the library.


Exercise files

Exercise files video

How to use exercise files.

For additional information on downloading and using exercise files, watch our instructional video or read the instructions in the FAQ.

This course includes free exercise files, so you can practice while you watch the course. To access all the exercise files in our library, become a Premium Member.

Join now "Already a member? Log in

Are you sure you want to mark all the videos in this course as unwatched?

This will not affect your course history, your reports, or your certificates of completion for this course.


Mark all as unwatched Cancel

Congratulations

You have completed Flash Catalyst CS5 Essential Training.

Return to your organization's learning portal to continue training, or close this page.


OK
Become a member to add this course to a playlist

Join today and get unlimited access to the entire library of video courses—and create as many playlists as you like.

Get started

Already a member?

Become a member to like this course.

Join today and get unlimited access to the entire library of video courses.

Get started

Already a member?

Exercise files

Learn by watching, listening, and doing! Exercise files are the same files the author uses in the course, so you can download them and follow along. Exercise files are available with all Premium memberships. Learn more

Get started

Already a Premium member?

Exercise files video

How to use exercise files.

Ask a question

Thanks for contacting us.
You’ll hear from our Customer Service team within 24 hours.

Please enter the text shown below:

The classic layout automatically defaults to the latest Flash Player.

To choose a different player, hold the cursor over your name at the top right of any lynda.com page and choose Site preferencesfrom the dropdown menu.

Continue to classic layout Stay on new layout
Exercise files

Access exercise files from a button right under the course name.

Mark videos as unwatched

Remove icons showing you already watched videos if you want to start over.

Control your viewing experience

Make the video wide, narrow, full-screen, or pop the player out of the page into its own window.

Interactive transcripts

Click on text in the transcript to jump to that spot in the video. As the video plays, the relevant spot in the transcript will be highlighted.

Are you sure you want to delete this note?

No

Your file was successfully uploaded.

Thanks for signing up.

We’ll send you a confirmation email shortly.


Sign up and receive emails about lynda.com and our online training library:

Here’s our privacy policy with more details about how we handle your information.

Keep up with news, tips, and latest courses with emails from lynda.com.

Sign up and receive emails about lynda.com and our online training library:

Here’s our privacy policy with more details about how we handle your information.

   
submit Lightbox submit clicked
Terms and conditions of use

We've updated our terms and conditions (now called terms of service).Go
Review and accept our updated terms of service.