Sound in Actionscript3

Make sounds in Library available to ActionScript

Once you have a sound in the library, you must make it available to ActionScript by giving it a linkage name.

In the library for the project, right click on the sound and select properties:


Click the "ActionScript" tab:


On the "ActionScript" tab, check Export for ActionScript, then type a valid name for the Class. Do not change the Base Class.


NEXT: Horn honks and cat meows