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" <fnando.vie...@gmail.com> 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 >(t...@extravision.com) 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