-
Volume Control with a Slider
Hi,
I am using Flash MX 2004. A moderate user. I am building my new website just to learn more about Action Scripts.
Does anyone know how to apply "Volume Control" with a slider/nob? If there is already an existing tutorial here (Flashkit)...can you please point me there?
All advice and help very, very much appreciated!!!
Thank you.
warmest regards,
sosurvivor
-
Senior Mender
You have to use a simple startDrag() and stopDrag()
The position of your slide bar give you the value of the volume.
So let say your bar is 200 of width
var volume = (slider._x * 100)/200
remember that the width of your bar is minus the width or your slider
-
-
Thank you guys...oops or gals!!!
Wow...thank you so much! I have scripts coming out of my ears.
I am new to this site. And I found a tutorial close to what Trionik suggested....am trying out this instance.
This is a beli (very) helpful site indeed!
Thanks again...
warmest regards,
sosurvivor
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|