views:

73

answers:

2

Well, i have to set the stage frame rate according to the frame rate of the flv and I will have differnet flv with different frame rate so i have to get frame rate of FlV using action script ??

Is there any method available in Video Class of ActionScript??

+1  A: 

flv.video.FLVPlayback.metadata["framerate"]

Aurel300
+2  A: 

You can also get the FPS from the NetStream like so: var fps = ns.currentFPS;

Mondain
this is the correct method when using the Video Class rather than the FLV Component
daidai