Question
Play video FLVPlayback from specific time HELP
I have problem. It is no big but I need to do it:)
I want to play video from specific time but this is not work for me.
ERROR
1119: Access of possibly undefined property startTime through a reference with static type fl.video:FLVPlayback.
import fl.video.*;
import fl.video.VideoEvent;
import flash.events.*;
add();
function add():void{
myVideo.autoPlay=false;
myVideo.source="video/1.mp4";
myVideo.skinAutoHide=true;
myVideo.startTime = 60;
myVideo.play();
myVideo.addEventListener(Event.COMPLETE, completePlay);
}
function completePlay(e:Event):void {
myVideo.stop();
myVideo.autoRewind = true;
myVideo.removeEventListener(Event.COMPLETE, completePlay);
}
