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

Chapter 7. Classes > Compiling and exporting classes

Compiling and exporting classes

By default, classes used by a SWF file are packaged and exported in the SWF file’s first frame. You can also specify a different frame where your classes are packaged and exported. This is useful, for example, if a SWF file uses many classes that require a long time to download (such as components). If the classes are exported in the first frame, the user has to wait until all the class code has downloaded before that frame appears. By specifying a later frame in the timeline, you could display a short-loading animation in the first few frames of the timeline while the class code in the later frame downloads.

To specify the export frame for classes for a Flash document:


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


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