You don't need to convert the whole thing.  Just the main application file.

From: Nando Vieira <fnando.vie...@gmail.com<mailto:fnando.vie...@gmail.com>>
Date: Wednesday, February 12, 2014 10:23 AM
To: aharui <aha...@adobe.com<mailto:aha...@adobe.com>>, 
"users@flex.apache.org<mailto:users@flex.apache.org>" 
<users@flex.apache.org<mailto:users@flex.apache.org>>, Tom Chiverton 
<t...@extravision.com<mailto:t...@extravision.com>>
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 
(aha...@adobe.com<mailto://aha...@adobe.com>) 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" 
<fnando.vie...@gmail.com<mailto: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<mailto: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

Reply via email to