• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint

Seminar Summary

This seminar covered creating a preloader with ActionScript for a conditional loop. Creating and using scenes was also discussed, as were some of the disadvantages of scenes. Instead of using scenes for The Honeycomb movie, you learned how to modularize the movie to re-create the functionality of scenes. This keeps all the movie’s contents in one Timeline and enables the movie to transition smoothly from one area to another. You will use this modularization of the Timeline for other movies you create to enable smooth transitions through the various areas of the Timeline.

You also learned how to add labels to your movie and call those labels in ActionScript. An if statement was used to create a conditional loop for determining how much of the movie has streamed down to the end-user’s machine. You created two new variables for capturing the values generated by two of Flash’s built-in methods—getBytesLoaded and getTotalBytes. If the condition is true, you set the movie to begin playing. Conversely, if the condition is false, you looped the movie back to the frame containing the if statement. Although this might have seemed daunting at first, the functionality of a conditional loop is very straightforward. You can easily customize this functionality for any of the movies you develop in Flash.


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint