You can avoid the “java –jar” stuff if you download the Flex 2 SDK from labs.adobe.com. They provide shell scripts (“mxmlc” and “compc”) that wrap all that stuff up very nicely. Also, because the scripts run from the bin/ directory, they will find the default flex-config.xml without you having to specify it on the  command line.

 

Your command would change to:

 

mxmlc helloas3.as

 

Much simpler.

 

Tobias.

 


From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Bolo Michelin
Sent: Wednesday, April 05, 2006 4:44 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Flex 2 on Mac OS X

 

Hello everyOne :)

i try to follow this post to setup Flex 2 on my mac (with tiger)
http://www.gskinner.com/blog/archives/2005/12/easily_compile.html

when i did that
4) Verify that everything is working by copying the "HelloAS3.as" included with flCompile to your home directory, and executing the following command in the Terminal:
java -jar flex/lib/mxmlc.jar -flexlib flex/frameworks -file-specs helloas3.as
It should give you compiling messages, and generate a "HelloAS3.swf" file in your Home directory.


i have this error
http://independza.com/client/image.png

Can u help me

Bolo



--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com




YAHOO! GROUPS LINKS




Reply via email to