• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

10. Loading Assets On the Fly > 10.2. A Preloader Component

A Preloader Component

I hope that last statement about not needing the code we just wrote didn’t upset you too much. The thing is, Flash comes with a set of components, which are prebuilt “widgets” meant to standardize the look, feel, and functionality of common Flash elements. One of the included components is the ProgressBar component, which is a preloader. It’s used to preload assets into the Loader component.

Using the Progressbar Component

Let’s see if the ProgressBar component works better than the script we wrote. There’s a possibility it won’t, so don’t hire a hit man just yet.

To implement a preloader using the ProgressBar component:

  1. Close the Preview window and close preloader.fla .

  2. Create a new Flash document and save it as progressBarComponent.fla in the 10 folder. Change the Stage dimensions to 500 x 375.


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


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