In flash it is possible to put an XML file at the application level, where you can specify classes you don't want to use, to reduce filesize.
For example you can skip FocusManager etc ... (http://www.peterjoel.com/blog/index.php?archive=2003_10_01_archive.xml#106600783287799254)
Will there be something similar in Flex?
Cheers,
P.

 

From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of Roger Gonzalez
Sent: mardi 28 mars 2006 22:07
To: [email protected]
Subject: RE: [flexcoders] Re: FLEX and Open Lazslo Comparision

> Does it happen to remove the unused components? What if I'm
> only using one button - does Flex include all components?

Flex only includes classes found in the dependency chain from
your application class (or configuration settings).

When you create an application that extends mx.core.Application,
you get a bunch of things that a toy application might not need,
but that a real-world application probably will.

A Flex app has a higher initial cost, but levels off.
Flex also allows you to write your own frameworks from scratch
in AS.

> I believe they're also working on ways to use
> shared runtime libraries/frameworks so it'll be possible to
> include apps that don't include the framework, instead reuse
> the libs supplied in the container application - makes it
> easier to break your apps into smaller, reuseable modules.

Flex has this today.  See the "runtime-shared-libraries"
and "externs" and "external-library-path" configuration options.

-rg


--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com




YAHOO! GROUPS LINKS




Reply via email to