Actionscript-only or MXML Project in FLEX

When people hear Flex, they inmediately think about file size, and in my experience a Flex project starts to get heavy when you add components and when you use MXML. Flex lets you create two types of projects:

  1. Actionscript-only
  2. MXML

When creating actionscript only project, the file size is the same or smaller it would be if you were using flash.

I think that for the types of projects I am creating, I don’t have much use for MXML, since I am not using any build-in components. Also all MXML is converted by the compiler to AS3 code.

It seems that there are some functionalities that are somewhat tied to MXML, for example when using Webservices in FLEX3 in an actionscript-only project, the compiler expects “ResourceManagerImpl” to be instantiated, this is done automatically when you create a MXML project, so when creating an actionscript-only project, you have to do it manually. This is a bug in Flex3.0 (http://bugs.adobe.com/jira/browse/SDK-12205), it will be fixed in the next release of the flex 3 sdk.

[Slashdot] [Digg] [Reddit] [del.icio.us] [Facebook] [Technorati] [Google] [StumbleUpon] Share in Google Buzz Share this on google buzz!

john

I am currently working as a Senior Flash Developer and Solutions Architect for R/GA in NYC.



User Activity:

Flash CS5 Poll

Opensocial: Test Google FC

GFC iPhone app

<-- -->