ProtoC
06-06-2006, 08:01 PM
I made a simple flv player that works by clicking on a button, the button has some actionscript that tells throws a .contentPath call into the player. The video starts playing as soon as some of it is buffered. Here's the code:
on (press, release) {
razorplayer.autoPlay = true;
razorplayer.play();
razorplayer.contentPath = "http://whateversite.com/movies/Custom001.flv";
}
Problem is the media player plays it right away (or at least once it's a little ways loaded). I'd like it to play once the flv is fully loaded into the player, not when it has "just enough". What do I need to add to the code to achieve this?
I am using the Flash 6/7 mediadisplay and controller component. thanks!
on (press, release) {
razorplayer.autoPlay = true;
razorplayer.play();
razorplayer.contentPath = "http://whateversite.com/movies/Custom001.flv";
}
Problem is the media player plays it right away (or at least once it's a little ways loaded). I'd like it to play once the flv is fully loaded into the player, not when it has "just enough". What do I need to add to the code to achieve this?
I am using the Flash 6/7 mediadisplay and controller component. thanks!