Start learning with our library of video tutorials taught by experts. Get started

Flash Catalyst CS5 Essential Training

Understanding interaction types


From:

Flash Catalyst CS5 Essential Training

with Mordy Golding

Video: Understanding interaction types

In Flash Catalyst, the things that make your project functional are Interactions. These are the rules you apply which specify exactly what happens when a user clicks on certain elements or when certain things happen in your project. For example, what I have open on my screen right now is a project called olive_tour_interactions and you can see that I already have my pages set up in my project. If I click on this button here, you can see that I already have converted this and created my button components. However, I need to tell Flash Catalyst that when someone clicks on this button, it should trigger some kind of an action.
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

Watch this entire course now—plus get access to every course in the library. Each course includes high-quality videos taught by expert instructors.

Become a member
Please wait...
Flash Catalyst CS5 Essential Training
4h 35m Beginner Apr 12, 2010

Viewers: in countries Watching now:

In Flash Catalyst CS5 Essential Training, author Mordy Golding demonstrates how to create and publish fully interactive Flash (SWF) micro sites, widgets, portfolios, and applications from static Photoshop, Illustrator, and Fireworks artwork—all without writing code. The course covers planning a project, importing and organizing assets, creating interactive components, defining repeating data lists, and publishing final projects. Exercise files are included with the course.

Topics include:
  • Organizing a Flash Catalyst project with layers and pages
  • Roundtrip editing with Photoshop and Illustrator
  • Sharing artwork across pages and states
  • Creating data lists for repeating elements in the Design-Time Data panel
  • Defining conditional parameters for an interaction
  • Integrating audio and video
  • Triggering state changes with interactions
  • Creating custom components
  • Exporting to SWF or AIR
  • Placing a SWF file into an HTML page on a web site
Subject:
Web
Software:
Flash Catalyst
Author:
Mordy Golding

Understanding interaction types

In Flash Catalyst, the things that make your project functional are Interactions. These are the rules you apply which specify exactly what happens when a user clicks on certain elements or when certain things happen in your project. For example, what I have open on my screen right now is a project called olive_tour_interactions and you can see that I already have my pages set up in my project. If I click on this button here, you can see that I already have converted this and created my button components. However, I need to tell Flash Catalyst that when someone clicks on this button, it should trigger some kind of an action.

That action is called an Interaction and in this case it would transition that person to the Growing page. The way that we define interactions are through the Interactions panel here inside of Flash Catalyst. Notice that right now I already have a transition. It says Play Transition to Growing. Remember, I've named all of my pages with real names, so it's telling me that when I click on this button, that will trigger this action to actually move to the Growing page. Notice if I click on this button here, it will Play Transition to the Picking page.

So that you can see how you can apply this type of interaction, I'm actually going to select it here in the Interactions panel and I'll click on the Trash Can to delete it. Notice now for this button, there are no interactions defined. Again, I have one button selected, so all of the settings that I'm about to apply only apply to this one button. I would click on the Add Interaction button and I would specify what type of interaction I want to apply. There are different options here called On Click, On Mouse Down, On Mouse Up, On Roll Out and On Roll Over.

In this case, I want someone to actually click on the button, so I'm going to choose an On Click option right here. Next, I can choose what happens when that person clicks on the button. The default setting, which is probably the one you'll use most often, is called Play Transition to State. But if I click over here, you'll see I have other options as well. I can choose Play Action Sequence. We'll talk about that specifically in another movie. I can choose Go To URL, and if I choose that option, I can type in here a full web address. For example, if this were a button where I wanted someone to send me an email, I can start by typing in mail to: and then enter my email address, or I can type in a full web address like www.lynda.com, for example.

If I am pointing people to a different web address, I can choose whether that opens up in the current window or if it opens up in a new window or a parent or a top window. In addition to Go To URL setting, I also have the ability to Play, Pause or Stop a video. We'll talk more about integrating video into your projects in another chapter. For now though, I simply want it so that when someone clicks on this button, it plays a transition to the Picking state. So I'm going to choose Play Transition to State and now I can choose which state I want to move to when someone clicks on that button.

And again, here it's important to note that because I've named my pages, I can now see the names of my pages, so it makes it that much easier for me to choose what I'm doing here. So I'll choose Picking here. So it's pretty simple and straightforward. It almost reads like English. On click. Play Transition to State. Which state? The Picking state. Then I'll click OK and that now applies the Interaction. In fact, I believe that most of the work that you'll be doing, you'll find you'll be creating these buttons. Then when someone clicks on that button, you're going to add an interaction to specify which page that person should now navigate to.

It's one of the most common types of interactions that you'll add in Flash Catalyst. There is also one other kind of interaction. Notice that right now I have a button selected, so in my Interactions panel, I'm dealing with an interaction for that specific button. However, I'm going to click on the artboard here to deselect that button. Now notice that I have absolutely nothing selected on my artboard. If I look at the Interactions panel, I now see a setting here called Application, and you'll note that when you have nothing selected and you click on the Add Interaction button, you have the ability to add a different type of interaction.

It's called On Application Start. You can see that I only have one choice right here, but I can choose to play a transition to a state. Let's talk about this for a moment. One of the most important concepts to really understand about Flash Catalyst is that in order for things to move or change in my project, I need to define interactions. But interactions always happen between two points. There is a start point and an end point. There is never a case in Flash Catalyst where a single object itself performs some kind of an animation.

For example, if I have an object, and I want that object to fade in, I want it to start with none and then end up at 100% visibility. To perform that, I'm going to need at least two pages or states. I need to have one where my object is set at zero Opacity and one where my object is set to 100 Opacity. I would then define an interaction that takes me from 0% opacity to the 100% Opacity. So we always have to be thinking about start points and end points when we think about planning the interactivity in our projects.

So let's talk about what I have going on here inside of this particular project. You see when somebody loads this application in their browser, I don't want the page to just appear as it is. I want the page to actually build. I want the map to fade in from 0% to 100%. I want the Two Trees logo to slide into place. Then for an added dramatic effect, I also want each of the buttons to kind of slide in from the left. If I have just a single page right now called the MainMap page, I'd have no way to define that. I need to first have a point inside of my Flash Catalyst project, where the map itself is set to 0% Opacity, where the Two Trees logo and where the buttons themselves are off the artboard.

So let's take a look at what I've created here. I'm going to press Cancel here inside of the Interactions panel and you'll see that in addition to the MainMap page in this project, if I slide all the way to the right here, I have another page here called Start page. If I click on it, you'll see that right now, the buttons all appear off of the artboard on the left. The map is here but it's currently set to 0% Opacity. If I scroll upwards just a little bit here, you can see that the Two Trees logo also appears here positioned off of the artboard. You'll also notice that even though my Start page appears all the way at the end of this list here in the Pages and States panel, the little dot here indicates that this is currently set as the default page.

That means, this is the first page that's going to load in the web browser. Remember that at anytime you can always just right-click on any page and set it as the default state. So that's what I did in this case here. I duplicated the MainMap page. I renamed it Start and set it as my default page and then I positioned the elements of where I want this to be before it starts. We'll go into detail about this in another movie. But the point I want to make here though, is that with nothing at all selected, I created an Application Interaction.

Notice now it says that On Application Start, Flash Catalyst will automatically play a transition to the MainMap page. That means without any interaction from the user perspective, just by opening this up in a web browser, Flash Catalyst will automatically trigger a transition from the Start page to the MainMap page. In fact, let's see how that works. I'm going to go to the File menu here and I'm going to choose Run Project. You'll notice that now when this loads in a web browser, instead of the map simply appearing with all the elements there, first the map will fade in, then the Two Trees logo will slide into place, and finally, each of the buttons will slide in one at a time from the left.

That's because I've defined this Application Interaction. The interaction was automatically triggered simply by loading this into the browser. At this point, now as a user, when I mouse over these buttons and I start to click on these buttons, this is now doing the interaction that I've defined, specifically for when I click on a button, it transitions me to the Picking page. It's important to realize that for any application, you can only have one Application Interaction. After all, your application only loads once in your browser. Still, by understanding that you always have to have both the Start and an End point for any type of interaction, you can plan your projects correctly from the start.

Find answers to the most frequently asked questions about Flash Catalyst CS5 Essential Training.


Expand all | Collapse all
Please wait...
Q: In Flash Catalyst, is it possible to control two sound sources being played at the same time? For example, the main audio will take priority, and the secondary audio will only be played at 20% (or any user defined percentage) of the main audio?
A: In the 1.0 version of Flash Catalyst, this is not possible.
Share a link to this course
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.
Upgrade now


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.

Upgrade now

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
Welcome to the redesigned course page.

We’ve moved some things around, and now you can



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.

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