Electric Type

Multimedia

About Us

News

Help

Advanced Flash
Lesson 2

by Michael Kay

Page 2 — Kiss and Tell Target

The Tell Target action is a pretty straightforward concept: Use an action to tell another target symbol what to do. Actually making it happen, on the other hand, is a little more complicated.

The cool thing about Tell Target is that it allows nonlinear interaction in your Flash movie. You can use it to start or stop the animation in a symbol or force it to jump to a specific frame. For example, say an animation in your movie is rolling. By using Tell Target, you can allow the user to turn a soundtrack on or off at any point, independent of the playing animation. Let's create this very effect right now.

To create this effect, we need two different symbols: a button for initiating actions (the "Tell" part) and a "Target" symbol. First, let's tackle the target symbol. This will do two things: contain the soundtrack and indicate the status of a Play/Stop button.

Symbol Properties

To begin, open the movie with the tween shape you created in the previous lesson. With nothing selected, create a blank symbol (Insert:Create Symbol) and name it "Soundtrack." Before you click OK, assign the Movie Clip behavior to this symbol. (Don't worry. If you were too trigger happy, you can always redefine the symbol from the Properties menu via the Library tool palette.) A Movie Clip symbol will play independently of the movie that contains it, even if the movie has stopped, which is just what we want.

You should now see a blank time line that corresponds to the Soundtrack symbol. But where's our sound? Looks as though we need to go get one.

next page»


Tutorials  

User Blogs  

Teaching Tools  

Authoring  

Design  

Programming help  

Advanced Flash  

Javascript  

Glossary  

PHP Coding  

User Blogs

Screen Shots

Latest Updates

Contact Us

Valid HTML 4.01!
Valid CSS!

Breadcrumb

© ElectricType
Maintained by My-Hosts.com
Site map | Copyright | Disclaimer
Privacy policy | Acceptable Use Policy
Legal information.