all groups > flash (macromedia) > january 2004 >
You're in the

flash (macromedia)

group:

external swfs, with streaming mp3s


Re: external swfs, with streaming mp3s CaffeineRush
1/18/2004 5:00:10 PM
flash (macromedia): You may want to make sure you have folders on your remote server set up
properly. When you test locally, relative file naming is based on the
location of the .swf file. When you are working on the web, relative naming
is based on the location of the html file holding the swf, not the location
of the swf. So, if you have the following:

/root/flashfile.html -- file displaying swf radio player

you need to your radio directory located like so:

/root/radio/mov1.swf

regardless of where the actual radio player swf is located on the server.

I created an XML based MP3 player a while back that may be helpful. The code
is a bit dated, but it still works:
http://www.catalistcreative.com/flashradio

[quoted text, click to view]
first key frame, and then frames to the second key frame, it started messing
up only 40% of the time.
[quoted text, click to view]

external swfs, with streaming mp3s Nanotech
1/18/2004 10:49:24 PM
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 = artistname;

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.

any help would be awesome. thanks.


Re: external swfs, with streaming mp3s Nanotech
1/18/2004 11:13:28 PM
my directories are all right, like i said the file loads some of the time

AddThis Social Bookmark Button