In a previous tutorial, I demonstrated a simple solution to loading an external sound file. In that example, the mp3 file that had been loaded begins to play automatically. While this might be fine in some cases, you probably would want more control over the sound being imported. For example, being able to stop or pause then play again might be a good place to start. In this tutorial, I will be demonstrating how to play, stop, and pause sounds using AS3 once you have the sound loaded into Flash.
Filtering data XML data using AS2 has to be one of the most sought out features when dealing XML-driven Flash projects. Being able to automatically grab certain relevant information without manually searching each and every XML node and/or attribute.
What if we were given the ability to create filters that will automatically pull the information needed from XML nodes and/or attributes. But wait we can’t do that, right? Right, that is until the birth of ActionScript 3.0.
Sound has become a key addition to many Flash projects: offline and online. In many cases, integrating sound can actually amplify the final results of a project. However, in many other cases sound should not even be a topic for discussion. Whatever your case may be, I am going to quickly go over how to load an external sound file using AS3.
Thanks to the Adobe Gods for making the lives of so many Flash developers much less complicated when dealing with XML Data. XML and AS2 just did not get along very well.
In AS3, the XML libraries have been completely overhauled. These new changes provide a much more seamless XML integration that is based on the web standards of E4X.