pcarini
02-13-2005, 11:53 PM
I'm looking to get what frameRate a flash movie is set to at runtime, in the simplest way possible. The document.frameRate property seems like it'd be easy enough to use, but if I trace I only get undefined.
The flash help shows this: (to set it, but I'd imagine I could read it also)
fl.getDocumentDOM().frameRate = 25.5;
My trace looks like this:
trace(_root.document.frameRate);
trace(_root.getDocumentDOM().frameRate );
Both return undefined. Any ideas ?
Thanks for any help,
-C
The flash help shows this: (to set it, but I'd imagine I could read it also)
fl.getDocumentDOM().frameRate = 25.5;
My trace looks like this:
trace(_root.document.frameRate);
trace(_root.getDocumentDOM().frameRate );
Both return undefined. Any ideas ?
Thanks for any help,
-C