Home Tutorials Forums Articles Blogs Movies Library Employment Press
Old 03-24-2004, 01:18 PM   #1
Senior Member
Join Date: Oct 2002
Posts: 240
Default Testing FPS to maximize swf movie size

I want a loaded movie to be as large as possible but also to maintain the FPS.

Since, movies at 100% do not always play well on slow machines I plan to create a test function that 1) checks the FPS of the movie 2) Decreases the the main MC on the stage size until the optimal FPS is reached.

If the stage is set to 100% but then that swf loads another swf into a MC, that MC can be resized (since the stage cannot).

I want the MC loaded Swf movie's fps to be compared to the client's processor ability to display the correct FPS.

What ways can I test the Frames Per Second of the movie?

One way I was thinking was to do a millisecond comparison. Since a 24 FPS movie runs at 40 MS, I could do a benchmark function test to see if performance was close. If not, then it would decrease the movie clips width from 20 pixels until the optimal balance was achieved.

Something like:

if (myFps< optimalFps) {

BUT, does this movieclip which has the real movie loaded into affect performance, or does only the stage size and the loader swf ???
you_rock is offline   Reply With Quote

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump

All times are GMT. The time now is 07:41 AM.

Follow actionscriptorg on Twitter


Powered by vBulletin® Version 3.8.5
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Ad Management plugin by RedTyger
Copyright 2000-2013 ActionScript.org. All Rights Reserved.
Your use of this site is subject to our Privacy Policy and Terms of Use.