feedback

How to implement Sonoport Sounds in your Flex application

Implementing Sonoport Sounds into your Flex application is extremely simple and straighforward. Please download our SDK to continue with the this process. This process is required for every ActionScript project created in Flex or Flash Builder.The free SDK can be downloaded here.

1. Creating a new project
Launch your Flex application. Once it has loaded, create a new ActionScript project by going to File>New>ActionScript Project. Once you have assigned a name to the project, click on Finish and new tab will appear displaying a new class file.
2. Adding the Library Path

In your Flex Navigator panel, right click your new project and go to Properties. Once there, click on ActionScript Build Path, followed by the Library Path tab. This would bring up a window similar to the one below.

add library path

Click on Add SWC and navigate to the Flex_SWC folder in your downloaded SDK. Once you have chosen it, click OK and it will appear in your library path window.

SWC added
3. Updating Compiler Settings

Note: If your project runs on Flex 4.x and above, you can skip this step. Your Flash compiler should be already set to Flash Player 10 and above by default.

For Flex 3.x: To run the Sonoport Library, your Flash compiler has to be set to 10. To do so, go to ActionScript Compiler in your project properties.

add library path

Once that is done, click OK and return to your project. You have successfully added the Sonoport Sound Library to your ActionScript project!