-
Sound.setTransform not working!
Hi!
I have trouble with applying Sound.setTransform to Movieclip which is loaded as the runtime library soundManager (path: MainEngine3_9_2_compact\module\sound).
It loads MP3 file, and I want to add setTransform to it (to control ONLY movieclip with MP3 in it)
but instead, after compiling, it applies setTransform to entire ROOT of swf (globally).
no matter what I've tried, which syntax I've used, it's either not working at all, or transforms the sound of entire document.
I'll upload the FLA with main document, and also there is FLA and AS of MP3-loading module.
all in one zip
https://disk.yandex.com/d/Aw2uP4DXBEvNxg
here's the code,but it won't tell much of current situation (line 51-53, Main.FLA, Action Layer).
Code:
//NOT WORKING!
var audio_sound:Sound = new Sound(_root.module.soundManager);
audio_sound.setTransform({ll:100, rl:10, lr:0, rr:0});
looks perfectly normal, but not working inside this particular document.
please help!
PS. I've added the sound at the timeline to right channel as a test, to check if it interferes with global sound Object or not.
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
|