Skip to main content
GilAmran
Participating Frequently
April 30, 2012
Answered

Flex mobile? should I avoid it?

  • April 30, 2012
  • 1 reply
  • 1150 views

Hi,

I need to develop an app for mobile... And it looks like the Flex mobile framework is a huge time saver!

But I know the adobe dropped Flex to Apache... Should I avoid using it?

Thanks

Gil

This topic has been closed for replies.
Correct answer sinious

The AIR SDK and Flex SDK are different. For example you probably have AIR inside your flash environment but try loading something from the Flex SDK like something a spark component would use:

e.g. Flex:

import mx.collections.ArrayCollection;

Does that work for you? Probably not. It's only part of a modern Flex install.

Flex mobile introduces the spark components which are all mobile optimized. Adobe AIR is the runtime (VM) that gets exported captive and compiled down to ARM. You don't need to have a single Flex component in your AIR for Mobile project. AIR for Mobile does not require Flex.

1 reply

sinious
Legend
April 30, 2012

They opened it up as opensource just like subversion or apache server, etc. This is only a good thing as it can be bug fixed using extra resources perhaps expeditiously.

Nothing feels as perfectly smooth as native. If you're willing to give up a little performance, I absolutely recommend using Flex for almost all app types from UI to games. The re-usable portions of your projects are a huge perk from device to device.

GilAmran
GilAmranAuthor
Participating Frequently
April 30, 2012

Does the Flex framework is part of Air?

I've compiled a flex mobile project with captive runtime (Air included) and it was ~9Mb. just like a regular ActionScript mobile project...

Does this means that Flex in included in Air? Why does Adobe do that? it's open source now...

sinious
siniousCorrect answer
Legend
April 30, 2012

The AIR SDK and Flex SDK are different. For example you probably have AIR inside your flash environment but try loading something from the Flex SDK like something a spark component would use:

e.g. Flex:

import mx.collections.ArrayCollection;

Does that work for you? Probably not. It's only part of a modern Flex install.

Flex mobile introduces the spark components which are all mobile optimized. Adobe AIR is the runtime (VM) that gets exported captive and compiled down to ARM. You don't need to have a single Flex component in your AIR for Mobile project. AIR for Mobile does not require Flex.