dcsimg
A Flash Developer Resource Site

Results 1 to 6 of 6

Thread: Optimizing Files Question - Please Help

  1. #1
    Senior Member
    Join Date
    Jul 2001
    Posts
    235

    Optimizing Files Question - Please Help

    I have an SWF that's set at 60FPS but it still tends to chug a little bit especially when there are 2 or more objects animating at the same time.

    Does anyone have any tips on optimizing files in order to make them run faster and more smoothly?

    Any tips would be helpful at this point.

    Thanks

  2. #2
    Moderator whispers's Avatar
    Join Date
    Mar 2001
    Location
    CFA2h (respect the HEX)
    Posts
    12,755
    I would try to use AS instead of frame/timeline tweens, for you animations...

    this will help with file size, CPU usage...and overall smoothness.

  3. #3
    Senior Member
    Join Date
    Nov 2004
    Posts
    928
    whats in the swf? you using actionScript? maybe irrelevant loops/ intervals running

  4. #4
    Senior Member
    Join Date
    Jul 2001
    Posts
    235

    A lot of actionscript

    There is a lot of actionscript used to create movement. Slow downs happen when the actionscript is running as well as manually created animations.

    Actionscripts are stopped when they have reached their destination. But even the movement seems slow with actionscript.

    Any thoughts?

  5. #5
    Moderator whispers's Avatar
    Join Date
    Mar 2001
    Location
    CFA2h (respect the HEX)
    Posts
    12,755
    yes the thoughts are that you have multiple frame/timeline "tweens" running at the same time.

    what are the specs of the computer you are using? can you post an example for us to look at? maybe only happening on that system?

  6. #6
    Senior Member
    Join Date
    Jul 2001
    Posts
    235
    I am running on a 2.4Ghz P4.

    Unfortunately it's a work project that's confidential. I don't have any versions that I can show that contains the slow down.

    Thanks anyways for all the advice and help.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  




Click Here to Expand Forum to Full Width

HTML5 Development Center