Iceline
04-01-2007, 06:38 AM
On the first frame, this actionscript is loaded:
sound=new Sound();
sound.loadSound(playfile);
stop();
the play button has this actionscript:
on(release){
stopAllSounds();
sound.start(cue);
}
I'm using javascript to send another value for the playfile variable. Hover it will not be played if I do. Can anybody tell me how to get this to work?
sound=new Sound();
sound.loadSound(playfile);
stop();
the play button has this actionscript:
on(release){
stopAllSounds();
sound.start(cue);
}
I'm using javascript to send another value for the playfile variable. Hover it will not be played if I do. Can anybody tell me how to get this to work?