-
scale controls volume
Afternoon all, could really do with some help here, so if anyone knows the answer I'd be really grateful to you if you can tell me how!
Okay I am using some script that creates a 3d carousel effect, three mc's rotate around a static mc - as the carousel rotates the three increase and decrease in size - biggest at the front smallest at the back.
Is it possible to add some code to each of the three mc's to attach/play a sound/mp3 constantly, but increase and decrease the volume of the mp3 depending on the size/scale of the clip - meaning the bigger the clip the louder it is?
Is that possible? Anyone know how?
-
logically something like :
mc's volume = (current mc scale / maximum mc scale) * maximum volume
-
...I have tried something similar but that didn't seem to make any difference.
The volume stayed consistent throughout the scale of the mc.
How should it be written properly and do I put it straight into the mc? I tried putting the reference both on the timeline and the mc timeline - neither made a difference - but that said - I don't know if I had done it right!
AS3 is still a learning curve for me :-(
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
|