You don't need to convert the whole thing. Just the main application file.
From: Nando Vieira <[email protected]<mailto:[email protected]>> Date: Wednesday, February 12, 2014 10:23 AM To: aharui <[email protected]<mailto:[email protected]>>, "[email protected]<mailto:[email protected]>" <[email protected]<mailto:[email protected]>>, Tom Chiverton <[email protected]<mailto:[email protected]>> Subject: Re: AIR Desktop ap with Flex 4.6 + Spark components Thanks a lot for your answer. I'll try to convert the whole thing to MXML. -- Nando Vieira http://nandovieira.com On 12 de fevereiro de 2014 at 15:12:28, Alex Harui ([email protected]<mailto://[email protected]>) wrote: Flex components cannot be used in an Application generated from a .AS file. The Application must be an MXML file. The compiler generates special code the UI components need when compiling MXML. It does not do so for .AS files. -Alex On 2/12/14 6:18 AM, "Nando Vieira" <[email protected]<mailto:[email protected]>> wrote: >Doing a simple `amxmlc -output=dist/Application.swf lib/Application.as` >still doesn't render the label. :/ > >-- >Nando Vieira >http://nandovieira.com > >On 12 de fevereiro de 2014 at 12:16:04, Tom Chiverton >([email protected]<mailto:[email protected]>) wrote: > >On 12/02/2014 14:02, Nando Vieira wrote: >> Any tip? Am I missing some flag or library that be loaded? >Remove all the non default options you are using to amxmlc until it >works. > >Tom
