This content has been marked as final. Show 3 replies
> Hopefully this will loop all day without any restarts. Since I don't have
> any video experience I would really appreciate some suggestions.
I mostly want suggestions on using an empty movie clip to load SWFs or
if I should use a Media Component to load FLVs.
And what about VideoPlayer, I found FLVPlayback which is just a
wrapper for VideoPlayer. The VideoPlayer class has an addEventListener()
method, load(), play() and setSiz(), is that any good to use? Would I just
import and access the class directly, since I don't see a component...
Thanks, sorry so clueless on this.
Let me preface this response by saying that i'm not a video expert, and i would hope others chime in here...
but i know FLV's are good for streaming over an internet connection, and since you're running it locally you may want to consider plain old swf video for the ease of use factor... you don't have to mess with the media playback component (or any such superfluosness), you can just use 'loadMovie' and treat them like any other movie in flash. You can detect when the video is finished playing with some code like this (assume loadedMC holds the video that's playing)
onEnterFrame = function()
if (loadedMC._currentframe >= loadedMC._totalframes)
// movie is done- notify
gotoandlearn.com has a tutorial on using a xml file to make a set of flv's play. It's not exactly what you're looking for, but it'll take you about 80% of the way. Good luck!