Originally developed by Macromedia, the animation software Flash utilised a new type of language called Actionscript. Once Flash was purchased by Adobe, the language was completely rewritten into the modern Actionscript 3. Since the programming language was completely rewritten, there is no way to convert the previous Actionscript into the new Actionscript 3 without rewriting the code in the original FLA file. To convert the old code into the new language, a strong understanding of Actionscript 2 and Actionscript 3 is required.
- Skill level:
Things you need
- Adobe Flash CS3 or later
Open the original .fla file in Adobe Flash CS3. Open the file's Actionscript editing panel, located under the "Window > Actions" menu on the main menu bar.
Delete the old script. Make notes of each function and operation executed by the current script before you delete it.
Open the "Publish Settings" window, located under the "File" menu on the main menu bar. Once open, select the "Flash" tab. Change the section marked "Script:" from Actionscript 2.0 to Actionscript 3.0. Click "OK" to save the settings and close the window.
Enter the new script into the actions panel. Actionscript 3 is a event-listener-based language, meaning you will need to define each event, function and variable in different classes. Functions from Actionscript 2 will not work, but many have been renamed and simply require new event listeners and definitions.
Save the .fla file as a Flash CS3 file.
- 20 of the funniest online reviews ever
- 14 Biggest lies people tell in online dating sites
- Hilarious things Google thinks you're trying to search for