PDA

View Full Version : Bare AIR 1.5 Project in Flex3?


midimid
04-28-2009, 04:13 PM
Since I can't use AIR 1.5 w/ the Flash CS3 IDE, I'm moving a project to Flex Builder 3.

I've learned from creating bare AS3 projects in Flex3 that I can remove utilities.swc and flex.swc to get as small of a file as possible. I'd like to do the same here.

Currently, a Flash CS3 IDE, bare AIR 1.0 built file is 4KB.
A new AIR Project in Flex3 produces a 282k AIR file (release build).

Which SWC's can I remove from Flex Builder 3 to achieve the same filesize as Flash CS3? Which SWCs do I HAVE to have for building a bare AIR 1.5 project?

My reason for moving from 1.0->1.5 is the AIR Update framework. So I'll at least need that.

Here's the library listing I currently have from a new AIR Project (w/ utilities.swc and flex.swc already removed):

airglobal.swc
automation.swc
automation_agent.swc
automation_dmc.swc
datavisualization.swc
framework.swc
atp.swc
rpc.swc
airframework.swc
applicationupdater.swc
applicationupdater_ui.swc
servicemonitor.swc

midimid
04-28-2009, 05:30 PM
So - I've removed everything except for airglobal, framework, airframework, applicationupdater, applicationupdater_ui and servicemonitor.

For my current project, if I build in Flash CS3 I have a 188KB file.
With the above SWCs, in FB3, I have a 1.5MB file.

What else can I remove?



Since I can't use AIR 1.5 w/ the Flash CS3 IDE, I'm moving a project to Flex Builder 3.

I've learned from creating bare AS3 projects in Flex3 that I can remove utilities.swc and flex.swc to get as small of a file as possible. I'd like to do the same here.

Currently, a Flash CS3 IDE, bare AIR 1.0 built file is 4KB.
A new AIR Project in Flex3 produces a 282k AIR file (release build).

Which SWC's can I remove from Flex Builder 3 to achieve the same filesize as Flash CS3? Which SWCs do I HAVE to have for building a bare AIR 1.5 project?

My reason for moving from 1.0->1.5 is the AIR Update framework. So I'll at least need that.

Here's the library listing I currently have from a new AIR Project (w/ utilities.swc and flex.swc already removed):

airglobal.swc
automation.swc
automation_agent.swc
automation_dmc.swc
datavisualization.swc
framework.swc
atp.swc
rpc.swc
airframework.swc
applicationupdater.swc
applicationupdater_ui.swc
servicemonitor.swc