actionscript 3 - how to play slow motion video using flvplayback component -


i need on playing video in slow motion using flvplayback component of flash. there anyway achieve functionality using flv component.

how can achieve using as3?

i use gettimer() flash.utils.gettimer() , enterframe event.

use logic enterframe (pseudocode) :

if(playstate){     pausevideo() }else if(gettimer()-previoustime > speed){     startplaying video     playstate=true;     previoustime -=speed; } 

playstate boolean variable, previoustime number

this play 1 frame, wait speed milisecond , play 1 other frame. speed = 1000/ desired framerate = 32 30fps


Comments

Popular posts from this blog

php - get table cell data from and place a copy in another table -

javascript - Mootools wait with Fx.Morph start -

php - Navigate throught databse rows -