6 days without Adobe Tech support.
enable the cacheAsBitmap property of your tweening symbols. (hopefully, they're movieclips.)
Let me, first, thank you for taking the time to help me out.
I'm afraid the bitmaps in my animation have been converted into graphics, not movieclips.
I could go ahead and convert them.
However, at the risk of imposing, I would please ask of you to explain how to
"enable the cacheAsBitmap property of [my] tweening symbols".
My bitmap is called: F1 Where
I belive the code is: F1.cacheAsBitmap = true;
Where do I type this code? In the behaviors panel? In the actions panel? To the keyframe?
Please forgive my ignorance. MX 2004 never required codes for simple left to right tweening.
1 person found this helpful
bitmaps are already cached. so, they don't have a cacheAsBitmap property and if you were tweening bitmaps, you wouldn't have a problem.
also, graphic objects don't have a cacheAsBitmap property so there's no way to cache them. if you insist on use them, you don't have much you can do to enhance performance of your swf unless you start crippling your app.
movieclips have a cacheAsBitmap should significantly enhance your swf's performance if your tweens are limited to x,y changes. cache them all. if any part of your stage is visible, create a stage sized movieclip with your stage's background color, put in your lowest layer and enable it's cacheAsBitmap.
you can enable the cacheAsBitmap property of a movieclip in the properties panel (after selecting the movieclip) or using actionscript (after assigning the movieclip an instance name - eg, mc - and applying mc.cacheAsBitmap=true; in the actions panel).
You have been most helpful and I am very greatful for the time you've invested in solving my (ALAS!) problem. I, regretfully, must impose on you one last inquiry and please do forgive this novice for taking up so much of your time. If I have several keyframes (let's say between 30 and 40 all tweening) on one layer, does every keyframe on that layer need the action or do I only apply it to the first keyframe?
A thousand pardons for this last question. You've been very helpful and I really feel bad imposing on you once again.
P.S. I final presentation is to be in a Quicktime Movie format and not a SWF. YouTube does not accept SWF files.
1 person found this helpful
the answer to your question depends on what was done in those keyframes and when it was done.
in the simplest situation (explained below), you only need to enable the cacheAsBitmap once:
you add a movieclip to keyframe N and assign its instance name. you then add any number of keyframes after that (never removing/re-adding your movieclip) and you can change your movieclip's properties in those keyframes and you can create tweens between the keyframes.
if you do anything other than that like, for example, add a movieclip to keyframe N, then add more keyframes, then go back and assign instance names to your movieclip in the keyframes. you need to enable the cacheAsBitmap property in each keyframe. it doesn't matter that you use the same instance name in each keyframe. flash considers each of those keyframe movieclips to be different instances.
p.s. please mark helpful/correct responses, if there are any.
7 days without Adobe Tech support.
they're not likely to offer any help on this. it's not a product issue. it's a user issue.