flash quickie
Out of context: Reply #5
- Started
- Last post
- 6 Responses
- 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