Jump to content
GreenSock

rob_v_5712

How to determine framerate (FPS) of loaded swf?

Recommended Posts

Ok - kind of an odd question, but Im loading several exteral swfs into a player using swfLoader.

How can I determine the frame rate of a loaded swf?

 

I know the total frames but Id like to have a timer for each slide ..... 00:02 / 01:00 

The only way I know to get the time is the total frame * the frame rate.

 

Thanks

Link to comment
Share on other sites

The frame rate is always determined by the main/parent/root swf. Sub-swfs don't run a different rates. 

 

As for finding that info, a quick Google search found this which I think gives you what you're looking for: http://www.kirupa.com/forum/showthread.php?361567-How-to-get-the-FrameRate-of-a-loaded-SWF

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×