hi all
I'v made a flash site that has components in different frames that play a .flv
music file and a button to cycle through the frames. It works perfectly on my
hardrive but when I load it to the web it wont play the music.
I have checked the file names etc.
Any ideas?
Thanks in avance
MotionMaker - 18 Mar 2007 15:56 GMT
Are you talking about the FLVPlayer component?
Are you using NetStream.play?
Be sure the flvs are on server.
LLuis12 - 18 Mar 2007 16:58 GMT
Yes it is the FLVplayer component
the content paths are the same
I don't know abot NtStream.
The .flv files are in a folder 'below' that of the flash (IE the content path
is "folder/"file.flv"
buffer time is 0.1
isLive is false
MotionMaker - 19 Mar 2007 03:10 GMT
"The .flv files are in a folder 'below' that of the flash (IE the content path
is "folder/"file.flv""
Not specific enough of an answer to be sure paths are not a problem. Path
relationship to HTML document loading the swf has to be the same or you need to
compensate in contentPath.
The HTML document that loads the swf determines the swf _url. So if you have
the HTML that loads the swf in a different folder than that folder testing you
would have a problem. A common trap if you test from IDE with Test->Movie.
This would work:
MyMovie.html
MyMovie.swf
videos/myfirst.flv
videos/mysecond.flv
videos/mythird.flv
If MyMovie.html is in any other folder, the flvs will not be found