Re: [flexcoders] Re: Set as Default Application: for an AS Class

2007-03-26 Thread Maximilian Nyman

Anthony,

This is kind of a workaround-ish way of doing it, but it works ;)

1. Create a new Flex Project [ASTest]
2. Create a new AS File [ASTest.as] and make it extend mx.core.Application
3. Close your newly created Flex Project
4. Open the FLEX_WORKSPACE/FLEX_PROJECT/.actionScriptProperties in
some text editor
5. Change the actionScriptProperties.mainApplicationPath attribute to point
at your AS application file [actionScriptProperties mainApplicationPath=
ASTest.as]
6. Change the application.path to point at your AS application file
[application path=ASTest.as]
7. Save and close the file .actionScriptProperties file
8. Reopen your new Flex project

The AS application file should now be set as your default Application file
and the application should compile and run just fine


Cheers,
Max

--
Mobile: +61 424 77 57 67
Home: +61 2 9968 3924
Skype: maxnyman
MSN Messenger: [EMAIL PROTECTED]



On 25 Mar 2007 23:21:25 -0700, Anthony Lee [EMAIL PROTECTED] wrote:


  Perhaps I should rephrase this question as:

How can I compile a pure AS application from Flex Builder 2.0.1?
 



[flexcoders] Re: Set as Default Application: for an AS Class

2007-03-26 Thread robert_cadena
Hi Anthony,

open up the project's properties.  Select Flex Applications from the
list on the left.

If you do not see your .as file on the pane on the right, then click
on the Add ... button.  Navigate to the .as file that has your app
code, select it, and click ok.  If you want to make it the default
application, click on the .as file name in this same dialog window and
click on the Set as Default button.


Hope that helps.

/r
http://www.searchcoders.com/flex


--- In flexcoders@yahoogroups.com, Anthony Lee [EMAIL PROTECTED]
wrote:

 Perhaps I should rephrase this question as:
 
 How can I compile a pure AS application from Flex Builder 2.0.1?





Re: [flexcoders] Re: Set as Default Application: for an AS Class

2007-03-26 Thread Anthony Lee

Hope that helps.


Perfect! Thanks.


[flexcoders] Re: Set as Default Application: for an AS Class

2007-03-25 Thread Anthony Lee

Perhaps I should rephrase this question as:

How can I compile a pure AS application from Flex Builder 2.0.1?