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

curl - PHP fsockopen help required -

HTTP/1.0 407 Proxy Authentication Required PHP -

java - More than one row with the given identifier was found: 1, for class: com.model.Diagnosis -