I have a problem. When i use this component to display a video on my webpage, it starts downloading the file in "contentPath" immediately.. even if autoplay is false. I don't want this.. I want it to download only when a user clicks on the play button.
Is there a way to do this?
I tried something like this:
var listenerObject:Object = new Object();
listenerObject.stateChange = function(eventObject:Object):Void {
myFLV.contentPath="movie.flv";
};
myFLV.addEventListener("stateChange", listenerObject);

...but it doesn't work.