How to create Preloader in AS3

后端 未结 5 757
悲哀的现实
悲哀的现实 2020-12-05 16:29

My flash applications is little bit big, so i want to embed a preloader in my application, So can anyone please tell me how to create a preloader in new \'Scene\' and load

5条回答
  •  生来不讨喜
    2020-12-05 17:21

    [Frame(factoryClass='Preloader')] no longer works in the new ASC 2.0 compiler. Instead, the preloader becomes your document class, and you need to add an Additional Compiler Argument to tell flash to include your main class on the second frame (do not reference it in the preloader):

    -frame=NameDoesntMatter,Main

    Does ASC 2.0 recognize [Frame] metadata tags (ex: for Preloader factoryClass)?

    ASC2.0 and Frame metatag

提交回复
热议问题