Re: [flexcoders] Help with Flex SDK Tutorial - What am I doing wrong?
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 < [This value will be overwritten by Flex Builder in the output app.xml] --- > MMI.swf 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
Re: [flexcoders] Help with Flex SDK Tutorial - What am I doing wrong?
Thanks Alex - but I don't have Flexbuilder. I am just working with the SDK on the command line right now. Dave On Tue, Nov 18, 2008 at 10:55 PM, Alex Harui <[EMAIL PROTECTED]> wrote: > If you have FlexBuilder, create an AIR app and look at the –app.xml for > the version. I'll bet the tutorial got stale and has an old version. > > > > *From:* flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] *On > Behalf Of *Dave April > *Sent:* Tuesday, November 18, 2008 3:34 PM > *To:* flexcoders@yahoogroups.com > *Subject:* [flexcoders] Help with Flex SDK Tutorial - What am I doing > wrong? > > > > > Hi all - > > I hope I don't sound like too much of an idiot here... > I am trying to run the Flex SDK tutorial at: > > http://livedocs.adobe.com/flex/3/html/help.html?content=SDKHelloWorld_1.html > > 1. I create HelloWorld.mxml and HelloWorld-app.xml (directly cutting > and pasting from the tutorial page) > > 2. I successfully compile using "amxmlc HelloWorld.mxml" > > 3. I try to run "adl HelloWorld-app.xml" and I get "error while > loading initial content" > > What am I doing wrong? > > Thanks in advance. > > Dave > > >
RE: [flexcoders] Help with Flex SDK Tutorial - What am I doing wrong?
If you have FlexBuilder, create an AIR app and look at the -app.xml for the version. I'll bet the tutorial got stale and has an old version. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Dave April Sent: Tuesday, November 18, 2008 3:34 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Help with Flex SDK Tutorial - What am I doing wrong? Hi all - I hope I don't sound like too much of an idiot here... I am trying to run the Flex SDK tutorial at: http://livedocs.adobe.com/flex/3/html/help.html?content=SDKHelloWorld_1.html 1. I create HelloWorld.mxml and HelloWorld-app.xml (directly cutting and pasting from the tutorial page) 2. I successfully compile using "amxmlc HelloWorld.mxml" 3. I try to run "adl HelloWorld-app.xml" and I get "error while loading initial content" What am I doing wrong? Thanks in advance. Dave