Babu
Babu

Reputation: 442

How to change the frame rate of a SWF file using as3?

I have a flex application which loads the swf files using SWFLoader and i have set the frame rate of the application 60.When i load a swf file it is playing vary fast,I think this is happening for the application frame rate.I want the frame rate of application to be 60 and the swf which i have loaded must be at lower frame rate. Is it possible?

Upvotes: 0

Views: 1538

Answers (1)

BotMaster
BotMaster

Reputation: 2223

No it's not possible, there can be only one framerate at all time for the whole app and any loaded swf will use that same framerate. You can change the framerate for playing those swf and restore the normal framerate when done or you can create a class that will play those swf in time based framerate.

Upvotes: 2

Related Questions