Sound
- Started
- Last post
- 2 Responses
- CyBrainX
I'm trying to get a button to only control a sound object "theme", not the sound in the whole movie. So, I have the following script on frame 1 of the main timeline.
_root.audioIcon_mc.theme = new Sound();
_root.audioIcon_mc.theme.attachS...
_root.audioIcon_mc.theme.start...and everything works fine, except when I have another .swf loaded in with some quicktime and the _root.audioIcon_mc button I'm using affects the sound in my loaded movie too. The script on audioIcon_mc toggles between:
_root.audioIcon_mc.theme.setVolu...
and
_root.audioIcon_mc.theme.setVolu...
What am I doing wrong?
- ********0
why not just use 'export for AS' option?
- CyBrainX0
I did.
I took the sound file that was imported into the library, went to linkage, named it "theme" and 'exported for action script' with the 'export in first frame' option checked.