Tutorials Home
What's New
Top Rated
Submit
myTutes
Random!
Sound Volume & Pan Control in Flash 5
Author: Sanjeevi Perumal Raj
Pan Sound R - L
To pan the sound from right to left:
on (release) {
tellTarget ("/") {
pan = music1.getPan();
}
music1.setPan(music1.getPan()-5);
if (music1.getPan()<=-100) {
;
music1.setPan(-100);
}
}
When the mouse is released
music1.setPan(music1.getPan()+5);
will pan the sound from right to left.
Okay, thats about it. Catch you guys later ;)
| » Level Advanced |
|
|
Added: : 2000-12-06
Rating: 6.42 Votes: 297
Hits: 1918
|
| » Author |
|
No information about the author has been provided.
|
| » Download |
|
Download the files used in this tutorial.
|
|
Download (32 kb)
|
|
Get conversion and unzipping tools
for PC and Mac here!
|
| » Forums |
|
More help? Search our boards for quick answers!
|
|
Please rate this tutorial, 10 is the top rating, you can also click the
comments link to read/write a review.
|
|
|