Stuff I am building:


Ted Patrick - Events & Community @ Adobe Systems


Note: This is the personal blog of Ted Patrick. The opinions and statements voiced here are my own.



A Central V2 Diet

DIGG IT!     0 Comments Published Tuesday, October 26, 2004 at 5:29 AM .

Here is a simple way to put your Central V2 apps on a diet. I lost 25Kb with XTreeM version 0.941 (posted minute ago).&

Central 1.5 ships with a shared library that contains many V2 components and classes. When you author for Central, you use the Central SDK components which point to the Central V2 shared library. Since the shared library is already in Central, it is ideal to exclude any duplicate classes used in your application.

I used ASV (Thanks Burak!) to obtain all the classes used within the Central V2 shared library and added them to an exclude XML file (made with XTreeM). If you rename the first portion of the exclude file match your Central FLA name and recompile, your application is sure to loose some unwanted size.

Example:

FLA : main.fla
XML: main_exclude.xml
Original: main.swf 77Kb
After Diet: main.swf 52Kb

A side effect of doing this is that your components instantiate quicker and there is no duplication of effort in your swf. By using this standard exclude list with your Central development you apps will be smaller and will execute faster.

Seeing the video of the Flash 8 Player got me excited about Flash / Central as a platform. A performance jump from 15 FPS to 115 FPS using components would make Central apps as fast a desktop equivalent. I view this as a huge opportunity to invest in Flash/Central now. Wow the future of Flash and Central looks very bright indeed.

Cheers,

Ted ;)

0 Responses to “A Central V2 Diet”

Post a Comment

Where to find me:

Ted on Twitter - @AdobeTed
Ted on Adobe Groups
Ted on LinkedIn
Ted on Facebook
Ted at Adobe


Latest

Lists

Links

Jobs

Flex Jobs
city, state, zip

Archives