Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

very slow tweening between scenes....

Posted on 2003-12-02
5
Medium Priority
?
300 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 225 total points
ID: 9859868
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
ID: 9863249
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
ID: 9867449
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
ID: 9867517
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
ID: 9874017
excellent, thanks again rascalpants! will do...

jt6572
0

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I have been doing hardcore actionscripting for some time; and needless to say I have faced a lot of problems in just understanding others' code rather than understanding what the code executes. A programmer's life can become hell when there are a lo…
While working over numerous projects I often had the requirement for doing a screen capture in AS3.0. Unfortunately I found no "ready made" solutions in google search that suited my requirements. But I did come across some great resources which help…
The goal of the tutorial is to teach the user how to select which audio input to use. Once you have an audio input plugged into the laptop or computer, you will go into the audio input settings and choose which audio input you want to use.
This Micro Tutorial will teach to how to utilize bit rate in Adobe Flash Media Live Encoder.

885 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