Initially focused on animation, early versions of Flash content offered few interactivity features and thus had very limited scripting capability.
More recent versions include ActionScript, an implementation of the ECMAScript standard which therefore has the same syntax as JavaScript, but in a different programming framework with a different associated set of class libraries. ActionScript is used to create almost all of the interactivity (buttons, text entry fields, pick lists) seen in many Flash applications.
New versions of the Flash Player and authoring tool have strived to improve on scripting capabilities. Flash MX 2004 introduced ActionScript 2.0, a scripting programming language more suited to the development of Flash applications. It is often possible to save a lot of time by scripting something rather than animating it, which usually also retains a higher level of editability.
Of late, the Flash libraries are being used with the XML capabilities of the browser to render rich content in the browser. Since Flash provides more comprehensive support for vector graphics than the browser and because it provides a scripting language geared towards interactive animations, it is being considered a viable addition to the capabilities of a browser. This technology, which is currently in its nascent stage, is known as Asynchronous Flash and XML, much like AJAX, but with possibly greater potential.
Many times, Flash authors will decide that while they desire the advantages that Flash affords them in the areas of animation and interactivity, they do not wish to expose their images and/or code to the world. However, once an .swf file is saved locally, it may then quite easily be decompiled into its source code and assets. Some decompilers are capable of nearly full reconstruction of the original source file, down to the actual code that was used during creation.
In opposition to the decompilers, SWF obfuscators have been introduced to provide a modicum of security, some produced by decompiler authors themselves. The higher-quality obfuscators use traps for the decompilers, making some fail, but none have definitively been shown to protect all content.
| Extension | Explanation |
|---|---|
| .swf | .swf files are completed, compiled and published files that cannot be edited with Adobe Flash. However, many '.swf decompilers' do exist. Attempting to import .swf files using Flash allows it to retrieve some assets from the .swf, but not all. |
| .FXG | FXG is an unified xml file format being developed by Adobe for Flex, Flash, Photoshop and other applications. |
| .fla | .fla files contain source material for the Flash application. Flash authoring software can edit FLA files and compile them into .swf files. The Flash source file format is currently a binary file format based on the Microsoft Compound File Format. In Flash Pro CS5, the fla file format is a zip container of an XML-based project structure. |
| .xfl | .xfl files are XML-based project files that are equivalent to the binary .fla format. Flash authoring software uses XFL as an exchange format in Flash CS4. It imports XFL files that are exported from InDesign and AfterEffects. In Flash Pro CS5, the xfl file is a key file which opens the "uncompressed FLA" file, which is a hierarchy of folders containing XML and binary files. |
| .as | .as files contain ActionScript source code in simple source files. FLA files can also contain Actionscript code directly, but separate external .as files often emerge for structural reasons, or to expose the code to versioning applications. They sometimes use the extension .actionscript |
| .mxml | .mxml files are used in conjunction with ActionScript files (and .css files), and offer a markup-language-style syntax (like HTML) for designing the GUI in Flex. Each MXML file creates a new class that extends the class of the root tag, and adds the nested tags as children (if they are descendants of UIComponent) or members of the class. |
| .swd | .swd files are temporary debugging files used during Flash development. Once finished developing a Flash project these files are not needed and can be removed. |
| .asc | .asc files contain Server-Side ActionScript, which is used to develop efficient and flexible client-server Macromedia Flash Communication Server MX applications. |
| .abc | .abc files contain actionscript bytecode used by the Actionscript Virtual Machine AVM (Flash 8 and prior), and AVM2 (Flash 9 or later). |
| .flv | .flv files are Flash video files, as created by Adobe Flash, ffmpeg, Sorenson Squeeze, or On2 Flix. The audio and video data within FLV files are encoded in the same way as they are within SWF files. |
| .f4v | .f4v files are similar to MP4 files and can be played back by Flash Player 9 Update 3 and above. F4V file format is second container format for Flash video and it differs from FLV file format. It is based on the ISO base media file format. |
| .f4p | .f4p files are F4V files with digital rights management. |
| .f4a | .f4a files are F4V files that contain only audio streams. |
| .f4b | .f4b files are F4V audio book files. |
| .swc | .swc files are used for distributing components; they contain a compiled clip, the component's ActionScript class file, and other files that describe the component. |
| .jsfl | .jsfl files are used to add functionality in the Flash Authoring environment; they contain JavaScript code and access the Flash JavaScript API. |
| .swt | .swt files are 'templatized' forms of .swf files, used by Macromedia Generator |
| .flp | .flp files are XML files used to reference all the document files contained in a Flash Project. Flash Projects allow the user to group multiple, related files together to assist in Flash project organization, compilation and build. |
| .spl | .spl files are FutureSplash documents. |
| .aso | .aso files are cache files used during Flash development, containing compiled ActionScript byte code. An ASO file is recreated when a change in its corresponding class files is detected. Occasionally the Flash IDE does not recognize that a recompile is necessary, and these cache files must be deleted manually. They are located in %USERPROFILE%\Local Settings\Application Data\Macromedia\Flash8\en\Configuration\Classes\aso on Win32 / Flash8. |
| .sol | .sol files are created by Adobe Flash Player to hold Local Shared Objects (data stored on the system running the Flash player). |
This article is licensed under the GNU Free Documentation License. It uses material from the Wikipedia.