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

Chapter 35. Preloaders > ProgressBar Component

ProgressBar Component

The ProgressBar component is meant to be used with the Loader component, so drag a ProgressBar and a Loader component to your Stage, as in Figure 35.2.

// event mode
loader.autoLoad = false;
loader.contentPath =
"http://imagecache2.allposters.com/images/86/017_PP0240.jpg";
pBar.source = loader;
// loading does not start until the load method is invoked
loader.load();


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


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