-
loading mp3's dynamically
hello,
i have just been through kenny's tutorial on flashkit about the dynamic loading of mp3's.....which works fine. however, what i would like to do is have just the one button to load AND play the external sound as an event. the tutorial has a load button and a seperate play button.
could anyone help me with the code please??
thanks in anticipation.
janice
-
on (release) {
firstSong = new Sound(firstSongMC);
firstSong.loadSound("mp3s/blind.mp3",true);
}
This seems to work fine for me little mp3 player.
Peace,
Drop
-
FK's Geezer Mod
You need an empty mc to load it into. In this case it has an instance name of placeholder.
on (press) {
loadMovie ("music1.mp3", "_root.placeholder");
mySound = new Sound();
mySound.loadSound("music1.mp3", true);
}
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
|