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

Creating an action sequence

From: Flash Catalyst CS5 Essential Training

Video: Creating an action sequence

Once you get a feel for how interactions and transitions work inside of Flash Catalyst, and once you're familiar with the Timelines panel, it can be really easy to add some cool animation effects to your project. For example, for this project called olive_tour_action, I'm going to go the File menu and choose to run this project so I can preview it in my browser. You'll see that when this actually loads into my browser, I'll see a static page. It's my main map of the entire interactive tour and a user can click on any button to go to a specific part of that tour.

Creating an action sequence

Once you get a feel for how interactions and transitions work inside of Flash Catalyst, and once you're familiar with the Timelines panel, it can be really easy to add some cool animation effects to your project. For example, for this project called olive_tour_action, I'm going to go the File menu and choose to run this project so I can preview it in my browser. You'll see that when this actually loads into my browser, I'll see a static page. It's my main map of the entire interactive tour and a user can click on any button to go to a specific part of that tour.

But maybe, when this application even first loads inside of a web browser, I might want some animation to happen. For example, maybe I want the logo to slide in from the top and I want the buttons to start appearing one after another. So let's go back to Flash Catalyst and see how we might do that. I'm going to go back to the application here and remember that when we think about interactions, normally inside of Flash Catalyst, I can only add an interaction that will be triggered by a person clicking on something. For example, when you click on one button, go to this page. However, there is one exception.

I can create something called an Application Interaction. That's an Interaction that starts automatically as soon as my Application loads in a web browser. But remember that any transition inside of Flash Catalyst needs to have a start and an end point. Right now, at least on my MainView page, all of my elements are in place where they should appear when that animation is complete. What I need to do is create a separate page that will represent the start point of that animation. So in order to do that, I'm going to create an additional page in my project.

I want it to be very similar to this actual page right here, the MainView page. So with the MainView page inside of my Pages and States panel selected, I'm going to click on the Duplicate State Button. Notice that right now if I slide all the way to the right, I'll see now that I created something here called Page1. I'm actually going to rename that to say Start, because that's going to be the page that my animation is going to start from. I'll click Enter to accept that name and you might think I actually need to drag or move that Start page all the way to the beginning of my project.

Well remember, inside of Flash Catalyst, there is no specific order to any of these pages. In any kind of Interactive Application, I can move between different pages in no specific order. However, there is a concept of a default page. That's the first page that loads into your browser. Because I'll be starting the animation from this Start page, I'll actually want to make the Start page my default page. To do that, I'm just going to right- click on this page right here and choose Set as Default State. Notice now the little dot appears on top of that page, letting me know right now it is the default page and, in fact, if I scroll back over here to the left, you can see that dot no longer appears on the MainView page.

This means that when I run this application and I launch it in my browser, the first page that's going to appear is the Start page. So let's change some of the settings now on the Start page itself. First, I'm going to click on the map and then in the Properties panel, I'm going to change the Opacity value to zero. I'll hit Enter to accept it, because in this way, I want the map to fade in from 0% opacity, all the way to full strength. Next, I'm going to want this logo to kind of slide in from the top of the page. So, let's go ahead now and kind of scroll over here.

I'm going to take this logo and just simply reposition it up over here. I'm holding down the Shift key as I drag it, so this way I'm dragging it straight upwards. Next, let's come over here to the left side where I have the buttons. I'm going to click on the first Button to select it and now I'll hold down the Shift key and select the remaining buttons as well. I'm now going to move these, again holding the Shift key down, just off the left side of the artboard. Just so we can get a better idea of what we just did, I'm going to collapse the Timelines panel for a minute here, change my view so I could see this right now centered on my screen.

When my application first loads in a web browser, it's going to look just like this. I'm then going to define a transition, which will actually now turn it into the MainView page, which will look like this. So the first thing I need to do is to add that interaction. I have to create an interaction that will go from my Start page, which is my default page, to my MainView page. In order to define an Application Interaction to do this, I have to make sure that I have nothing selected right now. With nothing selected, you can see that in my Interactions panel it says Application.

So I'm now going to add an interaction that on application start I want to play a transition to state. Which state? To my MainView state. I don't have to choose which state I'm starting in, because my Start page is going to be my default page, and obviously, this interaction is going to begin as soon as my application loads in a browser. But I know it's now going to go from my Start page here to my MainView page and I'll click OK. Now let's go to the Timelines panel, turn on our Smooth Transitions and create an action sequence that will have everything come into place just as we want it.

So I'll start by double-clicking on the Timelines panel and I want to specifically view the transition that takes me from the Start page to the MainView page. So I'll click on the pop- up here and choose Start. This filters my result, so I don't need to scroll through a million different settings here. I'll highlight the Start to MainView transition. Now I'll click on the Smooth Transition button and I can preview it by clicking on the Play button right here. As you can see, the map fades in from 0% Opacity to full strength. The Two Trees logo drops in from the top and the buttons come in from the left.

But if I preview it again, you'll see they all happen simultaneously. I'd like to adjust the timing so that I can add a little bit more of a dramatic element to my animation. Let me expand the Timelines panel just a bit so we can see all the settings here. We want the map to Fade In right from the beginning. So we'll leave the Fade In effect right over here. However, we want the Two Trees logo to only slide in after that map has faded in. So I'll click-and-drag on the Move over here so that it only happens after the map has faded in. Now I want the buttons to come in really quickly.

So they don't need a full second for a transition. I'm actually going to specify half a second durations for each of those button moves. So I'll click over here and make that adjustment for each of them. Then once I've done that, I'm going to reposition these and maybe even stagger them so that they each come in one at a time. With all these moves selected, I'm now going to drag them so they don't come in until after the logo first appears. I'm then going to hold down the Shift key and click on the top one. I'm then going to click over here to deselect them and I'll select just the bottom four buttons here and move them out over here.

Once again, I'll deselect them, and then I'll move these three over here to stagger them. Unfortunately, there's no way to really scroll to see the rest of this area here. So I'll use this slider in the bottom to change the scale. This will let me see more of the Timeline at any one time. Now I can take the remaining two buttons here and stagger them as well. So a quick look at the Timeline tells me that the map is going to Start to Fade In. Once it's completely faded in, the logo will actually slide in from the top and then each button will quickly come in, in succession.

Let's resize the Timeline panel a little bit and preview this to see what's going to happen. The map fades in, the logo slides in on the top and then each of the buttons slide in from the left. That looks perfect and now we want to make sure that we've done it correctly. Remember, we set this as an Application Interaction, meaning, this should all start happening as soon as the application loads in a browser. So I'll press Ctrl+Enter or Command+ Return on my keyboard to actually run this project in a browser and make sure that it all works correctly. Once it loads, I'll see the animation happening, the map fades in, the logo slides in.

Then each of the buttons slide in on the left. Of course, you can adjust the timing to your liking, but using an Application Interaction to define an action sequence allows you to add some kind of move into your application as it's loading in a web browser. Once the action sequence is complete, a user can interact with and use your application.

Show transcript

This video is part of

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

66 video lessons · 19565 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.