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:

library1

Click the "ActionScript" tab:

library2

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

library3

NEXT: Horn honks and cat meows