Solved

very slow tweening between scenes....

Posted on 2003-12-02
5
293 Views
Last Modified: 2008-03-03
i have a massive .fla file that has heaps of photos i have made symbols that tween by fading from one to the next. it is 13 MB! very large, i know, but the guy i contact to wanted all of this info, so i did my best....
anyway, at the end of one scene i do a 15 frame fade tween of about 5 symbols (including the background gradient) to another 5, for example, russia with a red background and russian flag tweens to italy with a green background and italian flag....
now there is no problem with the entire movie (swf is 1.5MB) playing on my pc at normal size, but when it is on the large plasma for the presentation and even at full screen on my pc the tweening between scenes is excruciatingly slow and looks crap!
could someone please give me a few pointers? i am fairly new to flash (well, i have done a training cd which was cool!) and this is my first real undertaking.
thanks!
jt6572
0
Comment
Question by:jt6572
  • 2
  • 2
5 Comments
 
LVL 22

Accepted Solution

by:
rascalpants earned 75 total points
Comment Utility
you need to optimize your SWF...

take a look at this link, and it will give you some good pointers:

http://livedocs.macromedia.com/flash/mx2004/main/01_doc49.htm

and here is another:

http://www.macromedia.com/support/flash/publishexport/stream_optimize/stream_optimize06.html


but I think your main problem has to do with trying to tween bitmaps...  this is typically a real CPU hog, and even on the fastest computers will take a long time to process...

and make sure you are staying away from tweening movieclips over bitmap images, because the CPU has to redraw that "hug" bitmap each frame because the movieclip is movie over it...


follow the above techniques, and you will get some better results...


SWF optimization starts before you even open the Flash Application...  make sure you don't use techniques that will slow down the CPU... and never use these techniques all at once!


rp
0
 

Expert Comment

by:cruiserparts
Comment Utility
It might be a long shot, but this might help.  I regularly tween (you need to tint tween) large-ish bitmaps in MX.  Have you tried using a different browser to play the movie.  I have one movie that I simply can not view using the Apple Safari Browser that plays fine with IE 5.0 on the mac, and every other browser.  It just doesn't tween that particular movie well.  It drives me nuts, cause I love Safari.  Some sort of bug I guess.  What happens if you use a different browser to view the movie that's giving you a problem?  
0
 

Author Comment

by:jt6572
Comment Utility
thanks very much rascalpants,
havent seen the result yet, but i took out the gradient backgrounds and it looks much better anyway!
jt6572
0
 
LVL 22

Expert Comment

by:rascalpants
Comment Utility
one other tip that you might use is when ever you use Alpha tweens, you should never go from 0% to 100%...

instead you should go from 1% to 99%

I can't remember why, but this seems to help the CPU out a little bit...

rp
0
 

Author Comment

by:jt6572
Comment Utility
excellent, thanks again rascalpants! will do...

jt6572
0

Featured Post

Free Trending Threat Insights Every Day

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

This is intended to introduce all collision detection principles in flash, their strengths, weaknesses and workarounds. The main method for Collision Detection in flash is using hitTestObject. But unless you'll be pushing rectangular shapes without …
There are times in your Flash CS4 application when you want more than a simple pointer or a hand, and it's hard to find an ideal walk-through to tell you what to do.  I spent a few days recently learning my way around making custom cursors in Flash,…
The goal of the tutorial is to teach the user how to select the video input device. Make sure you have an input device that in connected and work and recognized by Adobe Flash Media Live Encoder and select it in the “video input” menu.
This Micro Tutorial will teach to how to utilize bit rate in Adobe Flash Media Live Encoder.

728 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

9 Experts available now in Live!

Get 1:1 Help Now