Hi Dave,
On Tue, Nov 18, 2008 at 5:33 PM, Dave April <[EMAIL PROTECTED]> wrote:
> 3. I try to run "adl HelloWorld-app.xml" and I get "error while
> loading initial content"
I've been working on Flex and with only Vim and simple Makefiles for years; I
haven't checked the example you're referring to, but there's something that
Flex Builder does that we need to do by hand when running ADL for AIR, and
that is replacing the "content" node. Check this out:
[EMAIL PROTECTED]:~/.mmi/src/air$ diff MMI-app.xml MMI-app-linux.xml
39c39
< <content>[This value will be overwritten by Flex
Builder in the output app.xml]</content>
---
> <content>MMI.swf</content>
Here's the debugging section of a Makefile I'm using for an AIR I'm working on
right now:
test: swf adl
swf:
mxmlc +configname=air -default-frame-rate 100
-compiler.verbose-stacktraces=true -debug=true -library-path+=libs
-source-path+=locale/en_US src/air/MMI.mxml 2> error.log
adl:
adl src/air/MMI-app-linux.xml 2> error.log
This puts out the .swf file to the root of the src/air folder and runs adl to
test it. I've set svn to ignore that swf file, not to bother my fellow
FlexBuilderers,
I hope this gets you going.
gabriel.
--
gabriel montagné láscaris comneno
http://rojored.com
t/506.8367.6794