The redundant code will slow down compilation of your SWF file.”. If you use the Library path, be sure none of the compiled code in the SWC files is duplicated in uncompiled AS files in the Source path. The FLA file that specifies this path loads every SWC file at the top level of this path and any other code resources that are specified within the SWC files themselves. Library path: “specifies the location of pre-compiled ActionScript code which resides in SWC files you have created.Typically you would use this for libraries that you download as AS source code. Source path: Defines the location of source ActionScript source files.Through File->Publish Settings Flash Tab Settings Tab you can set the following ActionScript locations in Flash for a specific *.fla file: You usually should adopt the later, even if it means some extra work. You may set the source path either globally (for all your projects) or per *.fla file. Usually, the list of folders in which Flash searches for class definitions is called the classpath for ActionScript 2.0 and the source path for ActionScript 3.0 To use external ActionScript libraries that you downloaded and installed, Flash must locate the external ActionScript files that contain the class definition. This is a short executive overview on using ActionScript libraries see Reusable AS components and librariesĢ Installing and using libraries overview.List of libraries that are part of these Flash tutorials: FLiNT is a very useful library to create very cool animations with particles flying around or play around with the easier to use AS3 tweening platform. If want to go through an example, either read the FliNT particle system introductory tutorial. In this tutorial, we just will a short overview. swc - compiled clips that include ActionScript code and other stuff Tweening libraries like TweenLite that allow you to define sophisticated animations with a few method calls (instead of spending hours of drawing).įlash libraries can come in several forms (see Flash formats and objects overview).Special purpose animation libraries like the FLiNT particle system that allows you to create stuff like fireworks and snowflakes.Flash 3D libraries that allow a CS3 developer to create animated and interactive 3D scenes.There exist several free high quality ActionScript libraries available and that can be used by Flash designers that only possess very little programming skills. In addition, you also could start from "pure" Actionscript 3 coding (but we will provide no explanations here for flex style development.).
See for example the Flash button tutorial or the Flash component button tutorial and the Flash embedded movie clip tutorial. some very limited ActionScript 3 coding experience.