all groups > flash actionscript > january 2004 >
You're in the

flash actionscript

group:

external swfs, with streaming mp3.


external swfs, with streaming mp3. Nanotech
1/18/2004 10:40:06 PM
flash actionscript:
I've gone through every post on this site and have been unable to find an answer to my problem though many claim to be it.

I have a site with a radio Movie Clip. _root.radio
I want to load external clips-

stop();
_root.radio.sound.loadMovie("radio/mov1.swf");
_root.artist = artistname;

_root.radio.sound is an empty movie

It works fine on my local, but once uploaded to the internet it doesnt work properly probably 85% of time.

When i press the next button, it should goto and stop on the next frame with the actionscript-
stop();
_root.radio.sound.loadMovie("radio/mov2.swf");
_root.artist = "artist name";

but it doesnt seem to load, and proceeds to the next frame and gets stuck in a loop.
also i've tried _root.radio.sound.unloadMovie();... and numerous other things

I set up a isNaN failsafe to make it go back to frame if true, but it just froze.

It seems to me to be a loading problem, since when i added frames to the first key frame, and then frames to the second key frame, it started messing up only 40% of the time.

anyhelp would be awesome. thankx.

Re: external swfs, with streaming mp3. Developer Exemplar
1/19/2004 6:22:31 AM
look its pretty obvious as to what is happening...

the problem is that the external swf is not getting loaded fully and the main movie timeline moves to the next frame and so on and so forth and starts loading another swf...

the solution is that you can probably add a preloader and load all the swfs when the main movie is loading and then reference or call the swfs as and when required...



N Kiran Kumar Kowlgi
AddThis Social Bookmark Button