Method, system and apparatus for building and loading Flash program library file

A method for building and loading Flash program library file is disclosed. The method comprises: generating a SWF file embedded with a library file referenced by a Flash program; compiling modules of the Flash program in a manner of external reference, each module comprising a command statement indi...

Full description

Saved in:
Bibliographic Details
Main Author CHEN HUAXIAO
Format Patent
LanguageEnglish
Published 09.09.2015
Subjects
Online AccessGet full text

Cover

Loading…
More Information
Summary:A method for building and loading Flash program library file is disclosed. The method comprises: generating a SWF file embedded with a library file referenced by a Flash program; compiling modules of the Flash program in a manner of external reference, each module comprising a command statement indicative of referencing a library file of the SWF file in an external manner; loading the SWF file to a public domain upon receiving an instruction for starting the Flash program; loading each compiled module of the Flash program; and running each loaded module of the Flash program. According to above method, the case that the same library file is repeatedly loaded by the Flash program is prevented, such that the redundancy of Flash file is reduced. In addition, if the library file is modified, the SWF file of the library file only needs to be recompiled instead all modules of the Flash program are recompiled. In the case where the SWF file of the library file takes precedence to be loaded over the Flash program module, the firstly loaded and modified module of the library file does not need to be positioned, which can reduce the workload of modifying the library file. In addition, the present invention further provides a system and apparatus for building and loading Flash program library file.
Bibliography:Application Number: CN2014179203