Share Posted December 1, 2010 Hello to all. Although I tween position (x or y) of bitmaps with excellent performace, I have issues when I try to do the same with swfs (they lag / seem choppy). This happens even if the swf is 10KB size only. Any idea why? Thanx in advance. Link to comment Share on other sites More sharing options...
Share Posted December 1, 2010 The file size of the swf has nothing to do with rendering performance. You could cram hundreds or thousands of vectors into 10k and stretch them really big on the screen with varying alpha values and have horrible performance. 99.9% of the time when you're having choppy animations it's because you've got a LOT going on in terms of graphics rendering which has nothing to do with a tweening engine or ActionScript execution. Make sure you keep the areas of change on the stage to a minimum. And avoid masks and alpha effects if possible. Maybe try Googling "optimize Flash performance" or something because there are quite a few tips and techniques. Link to comment Share on other sites More sharing options...
Author Share Posted December 2, 2010 Wow!!! That was fast! And yes! For one more time you are right! When I tween the swf without doing anything else at the same time there is no lagging!!! Thank you very much for your time and you valuable answer! Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now