Skip to main content
Known Participant
February 13, 2013
Answered

AIR 3.6 overlay on Flex 4.6 breaks MXML compilation

  • February 13, 2013
  • 1 reply
  • 7224 views

I did the usual thing (3rd time I'm overlaying AIR), but this time I was unable to compile Flex application - there's is a namespace error problem and pretty much any component from (s:State, etc.) will throw "Could not resolve <s:State> to a component implementation.". I've discovered that flex-config.xml that AIR 3.6 brings with is vastly different from previous and doesn't even mention Flex in descriptions. I've reverted back to previous flex-config.mxml but this did not change anything. Something's not right, clearly?

This topic has been closed for replies.
Correct answer Colin Holgate

The download page does have a link to an older version, for people using Flex.

1 reply

February 13, 2013

My builds are broken with AIR 3.6 mxmlc.

mxmlc reports "test.mxml is of an unsupported type: mxml"

which seems weird and unlikely, considering the name of the program... Is the previous version mxmlc gone for 3.6 use? I'm trying to test if https://bugbase.adobe.com/index.cfm?event=bug&id=3358093 is fixed in the latest, but I canot even complete the compile step...

Inspiring
February 14, 2013

You missed the part where it says that starting from AIR 3.6 the SDK will include ASC 2.0.

I guess sooner or later there will be tutorials explaining how to use the old mcmlc with the new SDKs (if there is none available yet).

Known Participant
February 19, 2013

Hi Sebastian,

I'm facing exact same problem as you did. Existing project's compilation is failing. <s:State> , <s:ArrayList> (to name a few) are not found.

Can you kindly let me know how did you resolve this issue? I'm not quite clear on the answer that was marked 'Correct' which is 'The download page does have a link to an older version, for people using Flex.'

Which is the download page and what's the older version here? Should I be trying older version of AIR?

Or will it work if I replace overlayed flex-config.xml with that of old 4.6.0's flex-config.xml?

Cheers!

Deepak


Use standard overlay procedure - just download the SDK that was meant to use with Flex, not the pure AS one. The link is *very easy* to miss.