Ryan Frishberg had some good articles a few years ago about how to use the
IMXMLObject interface to allow the MXMLC compiler to recognize simple Sprite
classes. Might be worth checking out if you want to be able to use MXML without
the weight of the Flex framework.

http://www.frishy.com/2008/07/creating-a-frameworkless-mxml-file/
http://www.frishy.com/2008/07/creating-a-frameworkless-mxml-file-part-2-having-children/

_______________________________________________________________________

Joseph Balderson, Flex & Flash Platform Developer :: http://joeflash.ca
Author, Professional Flex 3 :: http://tinyurl.com/proflex3book

Nando Vieira wrote:
> Hi there everyone!
> 
> I'm trying to create a desktop app with Flex (Version 4.10.0 build 0) and AIR 
> (adl reports Version 4.0.0.1390).
> 
> I can compile the SWF using the following command (some Makefile 
> placeholders, so just ignore it):
> 
> amxmlc +configname=air -compiler.external-library-path=vendor -default-size 
> $(STAGE_WIDTH) $(STAGE_HEIGHT) -use-network=true -debug=true 
> -omit-trace-statements=false -verbose-stacktraces=true -swf-version=23 
> -target-player=12.0 -output=dist/Application.swf lib/Application.as
> 
> After compiling it, I'm testing out with the `adl` command like following:
> 
> adl -profile desktop -nodebug application.xml
> 
> The problem is that no spark/mx components are rendered. If I try to add a 
> Label, the children count is updated. I can even inspect it using 
> describeType, but nothing is rendered.
> 
> Any tip? Am I missing some flag or library that be loaded?
> 
> The source code is on Github: https://github.com/fnando/air-label-sample
> 
> The files you may want to check are Makefile (with the compiling/running 
> commands), config/application.xml (app descriptor) and lib/Application.as 
> (the actual code).
> 
> Thanks a lot for your help!
> 
> -- 
> Nando Vieira 
> 

Reply via email to