Archive for December, 2008
Actionscript 3 Performance
Shane McCartney put together two (1,2) great performance summaries over at his “Lost in Actionscript,” blog.
In addition to that, I thought I’d post all other links I’ve collected over some time about performance.
Here ya go:
http://robert.zubek.net/blog/2008/01/12/actionscript-3-bytecode-performance/
http://www.rozengain.com/blog/2007/05/01/some-actionscript-30-optimizations/
http://lab.polygonal.de/2006/10/08/as3-loops-performance-comparison/
http://blog.andre-michelle.com/2005/as3-optimations-suggestions/
http://www.adobe.com/devnet/flashplayer/articles/resource_management.html
http://www.adobe.com/devnet/flashplayer/articles/garbage_collection.html
http://www.gskinner.com/blog/archives/2006/06/types_in_as3_in.html
http://www.danielhai.com/blog/?p=55
http://lab.polygonal.de/2007/05/10/bitwise-gems-fast-integer-math/
http://www.danielhai.com/blog/?p=38
http://www.bit-101.com/blog/?p=1023
http://lab.polygonal.de/2007/07/18/fast-and-accurate-sinecosine-approximation/
http://www.rockonflash.com/blog/?p=63
http://blog.haxe.org/entry/26
http://agit8.turbulent.ca/bwp/2008/08/04/flash-as3-optimization-fastest-way-to-copy-an-array/
http://osflash.org/as3_speed_optimizations
http://flexblog.faratasystems.com/?p=147
http://elromdesign.com/blog/2008/03/27/boost-memory-performance-on-data-structures-using-hashmapcollection-api/
JSFL: Publish With Exclude Classes (CS3,CS4)
This handy JSFL brings “publish with exclude classes” support to CS3, and CS4. Originally written by Matthew Tretter. I cleaned up the script, and fixed problems with file search logic. As well as fixing support for finding classes defined by your global class path’s (flash preferences).
I also added “file” support originally added here by pickle.
There is a demo included in the download.
5 commentsJSFL: Selection to Whole Pixels
This handy JSFL moves all selected items to whole pixels. It works fine with most objects on the stage, however, it seems to work half of the time with vector’s.
No commentsJSFL: Update all matching base classes to new base class
This handy JSFL searches through the entire library for the base class specified, and updates it to a new base class. It uses the XMLUI for an interface, it’s included in the zip. To install it put the JSFL, and XMUI folder into the commands folder for either CS3, or CS4.
No commentsFlash CS4 Custom Keyboard Shortcuts Annoyance
I ran into this annoying issue when I was finally setting up my keyboard shortcuts for JSFL’s in Flash CS4. I always use cmd+opt+shift+[...], but unfortunately on a mac, when you throw the option key in the mix, Flash uses the unicode characters that are mapped to whichever key you press. Not all keys on the mac keyboard have a unicode character mapped to them, so for example, cmd+opt+shift+U works fine, but other keys don’t work so hot.
No commentsEclipse: Hiding the Splash Screen
I just ran into this nice tidbit of info. You can hide the splash screen fairly easy in eclipse. It’s a command-line switch you pass to the eclipse run-time at startup. I found it while reading the “Running Eclipse” documentation. The switch is “-nosplash.”
If you’ve got eclipse open right now, you can try this link. Otherwise, it’s in help>help contents>workbench user guide>tasks>running eclipse.
That documentation also explains how to start eclipse and provide the switch, for both win/mac.
No comments