Applying code snippets to movie clip instances


show more Applying code snippets to movie clip instances provides you with in-depth training on Web. Taught by David Gassner as part of the Flash Professional CS5: Code Snippets and Templates in Depth show less
please wait ...

Applying code snippets to movie clip instances

In previous videos, I have shown how to use simple snippets whose code is executed as the playhead enters a particular frame of the timeline. I am now going to show you how to use an object snippet, that is, a snippet whose code is executed when a particular event is dispatched by a particular object. For this demonstration I'll use an exiting file from the Exercise Files area. I'll choose File > Open and go to the Ch_01SimpleSnippets folder and from there, I'll locate and open a file called LogoWithButton.fla.

In this version of the movie, I have a movie clip symbol that has its own animation. That is the biker's legs are moving, and the hair is waving in the wind. But when I test the movie you'll see nothing is happening and that's because there is a Stop command in the Actions layer of the main timeline. This movie, however, has something a little bit different. In the logo area at the bottom of the movie, the text Explore California has been turned into a...

Applying code snippets to movie clip instances
Video duration: 5m 25s 3h 39m Intermediate

Viewers:

Applying code snippets to movie clip instances provides you with in-depth training on Web. Taught by David Gassner as part of the Flash Professional CS5: Code Snippets and Templates in Depth

Subject:
Web
Software:
ActionScript Flash Professional
Author:
please wait ...