Hi,
Ive got a .swf with a preloader and while its loading I want it to load a .mp3 into the .swf so it isn't too big
But I dont want it to play straight away, i want to make it play when it reaches frame 5 for example because I want to make an intro.
code i have got at the moment
//frame 1-4 is the preloader
//frame 5 = intro
Can anyone help me?
Thanx
Martin
Ive got a .swf with a preloader and while its loading I want it to load a .mp3 into the .swf so it isn't too big
But I dont want it to play straight away, i want to make it play when it reaches frame 5 for example because I want to make an intro.
code i have got at the moment
//frame 1-4 is the preloader
Code:
mysound = new Sound();
mySound.loadSound("[URL unfurl="true"]http://mysite.com/folder/my[/URL] song.mp3", true);
//frame 5 = intro
Code:
mySound.play();
Can anyone help me?
Thanx
Martin