MXML Issue on Leda 12 Preview

Excited trying IntelliJ Idea 12 on Flex mobile project.
Got problem at the beginning. IDE could not recognize standard MXML componemts. See attached images.
Screen Shot 2012-11-09 at 3.59.29 PM.png

Screen Shot 2012-11-09 at 4.00.20 PM.png

2 comments
Comment actions Permalink

IntelliJ IDEA highlights <s:Button/> red in this case because it is not allowed here. Compiler will give 'spark.components.Button' is not assignable to the default property, 'navigationStack', of type 'spark.components.supportClasses.NavigationStack'. I think you need to create views. Try to write something like

<s:ViewNavigatorApplication xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:s="library://ns.adobe.com/flex/spark" firstView="MyFirstView">
and invoke cool quick fix Create View 'MyFirstView'

0
Comment actions Permalink

Hi Alexander

Thanks for your quick reply. You're right.
Worked on Flash Builder before, never got this issue because of its more visual project generating wizard.

Since from Flash Builder 4.7, Adobe abandon Design View. I will do very project on Leda.
Thanks again for your wonderful work.

Raymond

0

Please sign in to leave a comment.