Help - Search - Member List - Calendar
Full Version: Music Sequence?
WorkTheWeb Forums > Webmaster Resources > Macromedia Flash
Support our Sponsors!
I want to have three buttons that the user can select a song. I created the 3 swf files seperately. When number one finishes I have an action that says to load the second.mp3 into _root.music ( the symbol that holds the sounds). The problem is that this thing doesn't work right. When I call the second mp3 into the same level and not in to a movieclip it works fine! So, is there any possible different way to aproach this matter??

Is it a bug? I am using MX in XP.

Please tell me what you think. I know that it's not so difficult problem.

Hi!

why don't you try it that way:


---------------------------------------------------
src = "http://mydomain.com/01.mp3";
srcs = src.split("/");
title = srcs[srcs.length-1];
stTime = getTimer();
s = new Sound(this);
s.loadSound(src,true);
s.start(startOffX,1);
---------------------------------------------------

It works with MX 6. The sound starts playing immediately (streaming!).

If you need more help with that just let me know.

Daniel
src = "http://mydomain.com/01.mp3";
srcs = src.split("/");
title = srcs[srcs.length-1];
stTime = getTimer();
s = new Sound(this);
s.loadSound(src,true);
s.start(startOffX,1);

stop();


PHP Help | Linux Help | Web Hosting | Reseller Hosting | SSL Hosting
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2006 Invision Power Services, Inc.