O'Reilly logo

Actionscript Cookbook by Joey Lott

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Beginning the Application

The image viewer/slideshow application should be created using a single FLA document. Therefore, you should create a new Flash document named imageViewer.fla and use it for all of the subsequent steps in this chapter. The final version of the application is available at http://www.person13.com/ascb.

Additionally, the application relies on several UI components, so make sure you include the following components in the Library of the Flash document:

ListBox
ProgressBar (Flash UI Components Set 2)
PushButton
ScrollBar
ScrollPane

You also need to make sure that you have the following ActionScript library files (also available from the preceding URL) available to the Flash document:

MovieClip.as (from Chapter 7)
DrawingMethods.as (from Chapter 4)
Table.as (from Chapter 11)
Forms.as (from Chapter 11)
TextField.as (from Chapter 8)

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required