AS2 → AS3: Load An XML File

Download Example Files
Loading XML in AS3 requires the use of the new Event system. In AS2 you could just tell the XML object to perform a method onLoad (when the XML file has finished loading and is ready to be parsed). In AS3 you have to add a listener to the Event.COMPLETE event [...]


AS2 → AS3: Open New Browser Window

With the advent of ActionScript 3, there are new ways to do old things. Something as simple as opening up a new browser window in AS2 is a slight bit more complicated in AS3, but when all is said and done, the language makes sense and is very clear.
Let's take a look [...]