Detecting and navigating frame labels with ActionScript


show more Detecting and navigating frame labels with ActionScript provides you with in-depth training on Developer. Taught by Todd Perkins as part of the ActionScript 3.0 in Flash Professional CS5 Essential Training show less
please wait ...

Detecting and navigating frame labels with ActionScript

One recurring theme in this title, and many other titles for that matter, is staying organized. Making a project scalable is often a crucial part in building a solid app, and scalability is usually easiest to maintain when using frame labels instead of frame numbers. Let's take a look at our file here. On the main Timeline, I have this movie clip, and if I double-click, it you can see its Timeline. I have some actions telling the main Timeline to jump to a specific frame so that we can change the angle of the view of this animation.

So I have this code here MovieClip.(parent).gotoAndStop(20) and if I test the movie, you can see an example of that. When the bear gets to the basket the camera sort of zooms in on the bear. Really, what's happening is the movie clip is scaling up. I set that all up in keyframes on the main Timeline. If you are not familiar with frame labels, frame labels enable you to actually name a frame. So, instead of saying go to frame 20, I could say go to the fr...

Detecting and navigating frame labels with ActionScript
Video duration: 7m 57s 7h 8m Beginner Updated May 23, 2012

Viewers:

Detecting and navigating frame labels with ActionScript provides you with in-depth training on Developer. Taught by Todd Perkins as part of the ActionScript 3.0 in Flash Professional CS5 Essential Training

please wait ...