View Full Version : Soud Player w/ preloader Help
Gostop01
03-18-2003, 03:47 AM
I created a simple mp3 player w/ preloader using the script from this movie:
http://www.actionscript.org/showmovie.php?id=682
I wanted to know how I could have the same sound w/preloader start when my movie starts. Also keeping the funtionality of the buttons to change the song.
if someone can point me in the right direction I would appreciate it.
Thanks.
Gostop01
03-18-2003, 03:49 AM
sorry i don't think that link will work.
It is titled "sound preload" under the sound section of actionscript.org's movies page.
Gostop01
03-19-2003, 07:54 PM
Any help out there?
boyzdynasty
03-19-2003, 08:16 PM
i'm not sure if I understand but do mean....while the movie is loading you want it to play music?
Or
play music after it has finish doing the preloading?
Or
I'm just way off?
Gostop01
03-19-2003, 11:25 PM
No what I have are buttons that when you click on them they attach the preloader and start playing a song. Currentlly in my movie you have to click on one of the buttons to start playing a desired song.
I want to add an actionscript so that at frame 1 of my main page, it starts playing a song, just as if a button had been clicked.
hope that makes more sense.
boyzdynasty
03-20-2003, 02:02 AM
o...
pick the song you want to play....in your library link that music file
linkage property => select export to first frame....
in the first frame of the movie
bgSound = new Sound(this);
bgSound.attachSound("nameOfsongInLibrary");
bgSound.start(0, 1);
Gostop01
03-20-2003, 02:54 AM
Thanks for the help but I dont think that answer applies to my situation.
As in the reference file foundd on this site, my sound files are not found in my library. My buttons are linked to server side files and then played including a preloader.
I think my question is pretty simple if I can get someone to understand it.
Here is how I would suggest someone solve the problem:
Go look at the reference file I spoke about above (i will attach it to this post), and figure out how to add script that would start a sound that includes the preloader in that file.
I just need the same function that is applied to the buttons, to be applied at startup without any user interation.
I hope that helps.
|
vBulletin® v3.8.5, Copyright ©2000-2012, Jelsoft Enterprises Ltd.