I have an FLV Video, and there is 2 things i want to do with it:
I want it to be played at a slower speed on screen. (because the original video is a little fast, fyi its 22 seconds long.)
On a click of a button, this video should be able to play to a specific frame from which ever frame it was. There are 4 buttons and for each one there is a specific frame/millisecond that it should play to and stop.
for example:
Btn1 - it should play to the [COLOR=#000080]0th[/COLOR] second
Btn2 - it should play to the [COLOR=#000080]10th[/COLOR] second
Btn3 - it should play to the [COLOR=#000080]15th[/COLOR] second
Btn4 - it should play to the [COLOR=#000080]20th[/COLOR] second
and if i was on the 3rd button and i clicked the first button… then the video should reverse from the [COLOR=#000080]15th[/COLOR] second to the [COLOR=#000080]0th[/COLOR] second.
Can anyone pleeeease tell me how to code this or show me a code for it… it would be a great help!
Heres my code of what i have till now, all i could do was import
var myVideo:Video = new Video(960, 480);
var nc:NetConnection = new NetConnection();
nc.connect(null);
var ns:NetStream = new NetStream(nc)
ns.client = this;
videoHold.addChild(myVideo);
myVideo.attachNetStream(ns);
ns.play(“animation.flv”);