MACROMEDIA FLASH MX 2004 - ACTIONSCRIPT Reference Manual page 102

Actionscript reference guide
Hide thumbs Also See for FLASH MX 2004 - ACTIONSCRIPT:
Table of Contents

Advertisement

The Sound class's
the left and right balance of a sound.
When the user drags the volume slider, the setVolume() method is called.
The following procedures show how to create sound controls like the ones shown above.
To attach a sound to a Timeline:
Select File > Import to import a sound.
1
Select the sound in the library, right-click (Windows) or Control-click (Macintosh), and
2
select Linkage.
Select Export for ActionScript and Export in First Frame; then give it the identifier
3
a_thousand_ways
Add a button to the Stage and name it
4
Add a button to the Stage and name it
5
Add a movie clip to the Stage and name it
6
102
Chapter 5: Creating Interaction with ActionScript
method controls the volume, and the
setVolume()
.
.
playButton
.
stopButton
.
speaker
method adjusts
setPan()

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the FLASH MX 2004 - ACTIONSCRIPT and is the answer not in the manual?

Table of Contents