flash ad - user initiated audio
flash ad - user initiated audio
Out of context: Reply #8
- Started
- Last post
- 10 Responses
- fyoucher10
Personally, I wouldn't put it on the timeline.
If you need it in an external SWF, just click the export for actionscript setting for the sound in the library and give it a linkage ID. Then add it dynamically using a function created it that SWF. Then you can control it from the other SWF by calling those functions after the SWF has finished loading.
function createSound():Void {
var my_sound:Sound = new Sound();
my_sound.attachSound("sound_id...
my_sound.start();
}then from the main SWF you could call something like target_mc.createSound(); but make sure that external SWF is loaded first before you call it.