Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

dropping frame rates

Status
Not open for further replies.

DeepBlerg

Technical User
Jan 13, 2001
224
AU
I have been experiencing very poor frame rates when playing back flash movies with alpha and motion effects. Sometimes the frame rate can drop down to 5 fps which looks really bad! Is anyone else having this problem when they use Flash? and I don't think its my machine because it's a PIII ,128 RAM etc.
 
You will notice a drop in frame rate if you have a lot of tweening going on at the same time. Check through your movie and see if this is the case. Tweening with alpha will also have this effect..... If you do have a lot of tweening happening at the same time you will have to re-think your animation. roda B-)
rod@sameplanet.co.uk

 
Roda's right: tweening's definitely hard on your PC. And if you're tweening bitmap images it's especially processor intensive and the bigger your image the worse it gets.

Depending on how your movie is set up you can script certain movements. To my eye anyway this often leads to smoother motion, especially if there are many different objects on the stage simultaneously.

onClipEvent(enterFrame){
_alpha-=1;
}


fades out the movieclip it's attached to without any tweening...

onClipEvent(enterFrame){
_x+=2;
}


moves the clip to the right. Several motions can be combined in one clipEvent script which saves even more time, if you add an updateAfterEvent() to the end on your script it smooths the screen refresh cycle too.

Then again if you've got 100+ elements all going at the same time your poor old PC's going to grind no matter what you do :) .
 
hey, if you put those as keyframes...would it help?...because in tweening, it makes all the middle frames correct?...I know this would lead to larger file size, but wouldn't it help? Regards,
Anth:cool:ny
----------------------------------------
"You say [red]insanity[/red] like it's a BAD THING!"
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top