Content on this page requires a newer version of Adobe Flash Player.

Get Adobe Flash player

SPONSORED BY

The Very Best Algebra Notes


The Very Best Algebra Notes for the Very Best Flash Games

 

FLASH ACTIONSCRIPT LESSON: Cresting a flash slide show with progress bar loading indictor

In this lesson, students learn how to quickly create a Flash slide show. Flash slide shows can be easily made with the Flash behavior functions. However, if your flash slide show has lots of pictures, you may need to code a progress bar to indicate to your visitors that they will have to wait for the slide show to start.

The AS3 API object, components, methods and properties used in the lesson include the progressBar component, addChild, addEventListener, event.currentTarget.percentComplete, event.bytesLoaded, event.bytesTotal, function, Label, removeChild, textField, UILoader. Students also add left and right arrow buttons and associated behaviors so that the viewer can step to the next or previous slide.

 

When the program loads into your web page, you will see the progress bar in the left center of the stage. It may be difficult to see if you have a fast Internet connection. If you have a slow connection, you will see the progress bar and the number of bytes loaded displayed. Click the yellow arrow to go forward one slide and the green arrow to go backward. Alternately, you can use the arrow keys on your keyboard.

 

To schedule an online Flash lesson, contact

Email: mark.c.stansberry@gmail.com,

Text: (707)235-4095


http://www.3d-perspective-software-development.com/lesson-flash-as3-progress-bar.html