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

Understanding components

From: Flash Catalyst CS5 Essential Training

Video: Understanding components

So we've built a project inside of Flash Catalyst. We've learned how to import artwork from other applications into Flash Catalyst. Now let's focus on some of the main building blocks that are used inside of Flash Catalyst. In this case I'm talking about something called components. Components are the actual elements inside of your design project that people will interact with. There are things like buttons and sliders. Now admittedly buttons and sliders don't sound very exciting, but that's because we usually take them for granted. However, with Flash Catalyst you have the ability to turn any artwork into any kind of component.

Understanding components

So we've built a project inside of Flash Catalyst. We've learned how to import artwork from other applications into Flash Catalyst. Now let's focus on some of the main building blocks that are used inside of Flash Catalyst. In this case I'm talking about something called components. Components are the actual elements inside of your design project that people will interact with. There are things like buttons and sliders. Now admittedly buttons and sliders don't sound very exciting, but that's because we usually take them for granted. However, with Flash Catalyst you have the ability to turn any artwork into any kind of component.

This really gives you complete control over the entire user experience. In fact, by customizing the appearance of elements such as Buttons or sliders, you can ensure consistency across your design no matter how people interact with it. For example, you may have noticed that buttons look one way inside of Firefox, but they look completely different inside of Safari and maybe even more dramatically, they look different between Mac and Windows. So before we start creating any of these components, let's really learn what components are all about in Flash Catalyst. I'll start by creating a new blank project here.

I'll just take the default settings to create a new project in Flash Catalyst. You can see that there's a Wireframe Components panel that contains many pre-built components. Things like Buttons, Checkboxes, Radio Buttons, Text input fields and even Horizontal and Vertical sliders. However, these elements are very basic in appearance. They're great if you quickly want to get something on your screen and to do so you simply drag them out onto your page, but the real benefit of working with components inside of Flash Catalyst is that you can convert any artwork into a component.

So I'll delete this element for now and I'll go to the File menu and I'll choose Import to bring in an Illustrator file. In my Chapter 3 folder I'm going to bring in something called button and click Open. Once again Flash Catalyst asks me how I want to import that artwork. 9 times out of 10 I'm just going to click OK and choose the default settings. If I look at my Layers panel, I'll see that I have a group here that has several different elements, because I want to build a button that has different states of appearance as I interact with it. For example, when I run my mouse over it, maybe I want to see a color version and maybe I want the word GROWING to appear.

For now I'll set it back to the state that I was in before and I'll close this layer, and because there's a white background behind this button, I'll click on the artboard to deselect that button and I'll go to the Modify menu and choose Artboard Settings. This will allow me to specify a different background color for my artboard and I'll choose something like a light gray and click OK. Now to really grasp the concept of what a component is, let's imagine for a moment that we're a chef. Now if I'm preparing a meal, I may have several elements within that meal. For example, if I'm preparing a salad, I may want to create a really nice dressing for that salad.

I can either go to the refrigerator and take out a bottle of Italian dressing or I can go and try to hunt down all the necessary ingredients to create an Italian dressing from scratch, maybe some oil, a whole bunch of different spices. Now obviously that's a lot more work than just going straight to the refrigerator and getting a ready-made bottle of the dressing. Now hold on a minute. You may tell me that creating Italian dressing from the scratch is going to taste that much better. But what if that bottle of dressing that's in your refrigerator is dressing that you created earlier. It doesn't mean it needs to be store-bought? Let's bring this all back now to working with components inside of Flash Catalyst.

The Wireframe Components was like that store-bought dressing. However, you can customize your dressing in any way that you want and then save them to use later. That means whenever you need to use the dressing, it's right within reach, ready to use. Even though we don't like to think about working with computer code, let's take a quick glance behind the scenes at what's happening inside of Flash Catalyst right now. At this point I've taken some artwork that I created inside of Illustrator and I brought it into Flash Catalyst. So I'm going to go over here to where it says Design and I'm going to switch to the Code view.

When I placed that artwork from Illustrator into Flash Catalyst, Flash Catalyst converted that Illustrator artwork into code, and look how many lines of code it had to create in order to bring just that little button right here into Flash Catalyst. When you see this, you really start to appreciate what Flash Catalyst is doing for you. Let me switch back now to the Design view. This looks a whole lot better, doesn't it? Well, I'm now going to select this artwork on my artboard and the HUD gives me the option to now convert this to a component. I'm going to choose to convert this to a Button component.

Now before we do anything else, let's go back to see what just happened now inside the Code view. Once again I'll switch from the Design view to the Code view and take a look at this. That button, that before was made up of many different lines of code, is now represented by one single line of code. It's simply a button, and it's been called GrowingButton. Flash Catalyst picked up that name Growing from the name of the group inside of the artwork that I created. So a button is really more than just a couple of pieces of art and some rollovers. It's actually a building block that you use to make your code more efficient.

All of that translates into an application that's easier and more efficient to use in a web browser. I'll switch back to the Design view so that we can now focus on the visual design aspects of our project. Now that you have a clear understanding of exactly what a component is, we can start to use them to create interactive projects 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 · 19564 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.