Right, you are using FB to compile your app. You need to change the
nature of your project from AIR to Flex so that FB will run it as a Flex
App rather than an AIR app (If you just ran the compiled swf through the
browser, it should work fine).

 

FB isn't that nice at changing project natures, but there's a hacky fix
you can make.

 

Open up the .project file (note the period on the front) and remove the
apollonature nature from the list, and make sure the flex and
actionscript ones are in the list.

 

It should look something like,

 

<natures>

<nature>com.adobe.flexbuilder.project.flexnature</nature>

<nature>com.adobe.flexbuilder.project.actionscriptnature</nature>

</natures>

 

Next go into the project properties and under "Builders" make sure only
the Flex builder is checked. If the AIR one is checked remove it.

 

Open up the run dialog and set up a new configuration for your app,
create it under the Flex Application part of the tree, and set up the
config normally.

 

Tah da! You should be able to run it in FB now (assuming I haven't
missed any steps out... doing this from memory!)

 

Gk.

Gregor Kiddie
Senior Developer
INPS

Tel:       01382 564343

Registered address: The Bread Factory, 1a Broughton Street, London SW8
3QJ

Registered Number: 1788577

Registered in the UK

Visit our Internet Web site at www.inps.co.uk
<blocked::http://www.inps.co.uk/> 

The information in this internet email is confidential and is intended
solely for the addressee. Access, copying or re-use of information in it
by anyone else is not authorised. Any views or opinions presented are
solely those of the author and do not necessarily represent those of
INPS or any of its affiliates. If you are not the intended recipient
please contact [email protected]

________________________________

From: [email protected] [mailto:[email protected]] On
Behalf Of markgoldin_2000
Sent: 19 March 2009 15:58
To: [email protected]
Subject: [flexcoders] Re: Convert Air app. to Flex

 


I did. Here is what I am getting when I am running it:

Command:

"Flex SDK installation path......\adl.exe"

project path\bin-debug\projectname-app.xml

project path\bin-debug\

Output from command:

invocation forwarded to primary instance



Reply via email to