flash quickie
- Started
- Last post
- 6 Responses
- usrper
hi
how come sometimes the motion tweens moves REALLY slow, like studdering, not smooth... im working at 30 fps..
is there a particular reason why or how i can fix it?
thanks.
- fadeproof0
are u tweening a gigantic bitmap?
or a very complex vector image?
also, did u export the swf and view it? cause when u play a tween within the fla, it will tend to studder, especially if you r working at broadcast-level frame rate like 30.
- del_razor0
i've noticed.. if you "deselect" everything in the stage area window.. animation will run much smoother, than if, say, a sprite or text element are selected..
give it a shot..
- usrper0
fadeproof, i did export it.. still studder.. some of them are alright big but not so big that its crazy....
- usrper0
del,
so it doesn't matter if i deselect everything if im previewing in export, right?
- davi-t0
Things you can do:
1--> If the SWF will be embedded into an HTML page, in ur HTML code for the quality settings use 'autohigh' (Not the _quality property within the Flash authoring tool). Using this setting, the Flash player will always default to antialiasing bitmaps, if your cpu can't handle it, it steps down in quality so that it can keep up with the FPS (high to medium to low etc) and switches back to high when it all animation has stopped.
2--> Don't use alpha fades.
3--> If you aboslutely need to, add a streaming audio track in there (even if it is inaudible) to force Flash to play at ur FPS.
4--> Use AS code to move ur bmp if u can. Good tutes on this can be found at actionscript.org.
5--> Stop all other animations in the background while u move ur big arse bmp.
6--> Make sure you do not have loops and shit running while this is happening (ie. onEnterframe). Definitely DO NOT use two frame looping.
7--> Use a proxy image. (ie. Use the normal large image when it is static and when u need to move it, swap it with a lower resolution image. For example, your large image is 400x400, your proxy image is 200x200 scaled 200%).
8--> Don't use a transparent PNG, espiecially PNG's with craZy ass feathered edges. If your image has a clean edge, use a optimized JPG instead and mask out the areas that u want as transparent.
And finally, are you on a MAC? That might be your problem. fuckers.
davi-t
- usrper0
wow i guess that totally answers it... leme check back on this, but THANKS DAVI-T...