I have a scene whit two button.
Each button load a external movie for example:
on (release) {
loadMovieNum(“playattachedsoundsh.swf”, 1);
}
My problem is that I do not want the movie to be loaded and
level 1, … b’cos is just a simple play and stop button…
so ,I would like to be open it on a pop up window.
My Q is this.
Is there a posibility for this ? if so I would like to know please
code or any help will be appreciate…
no your are loading your sound wrong go to http://flashkit.com
and read about the Sound Object it is very powerful if used correrctly. if you are still having a problem repost and i will write you the code you need
Digitalosophy , a need to load the sound object like that be cos is a big fat MP3 (1,64 MB) and i need a pleroader for it, to be more clear,but nothing is working well.
Please if you have time tell me please the best way to load a external mp3 with a preloader on a pop up window.
I find some tutorials for that but i get confused.
ok let me start by saying that you need to get rid of that big fat mp3 Mp3’s are no good for flash becasue when you loop it there is a skip and the loop does not sound true. 2nd that is way to large for a sound file. 3rd if you are going to inssit on using it here is the script (you can use this for anything with sound)
here are the steps:
step1=
*import the sound file you are gong to use
*go to your library right click on sound file and go to linkage
*identifier name= bgSound
*make sure export for actionscript as well as export in first frame is checked
step2
*go to an empty frame in your timeline and type this code
Now if you want your sound to start through a button event just type this on your button and dont type the last line on the code above (mySound.start(0,999))
on(release){
bgSound.Start(0,999)
}
*To stop your sound simply make a stop button with these actions
on(release){
bgSound.stop
}
There ya go man if you need help preloading it let me know. hope i helped