Hi,
Thanks so much for your help:)
I had to transfer the file to the frameworks directory.
Your solution worked for the mxml file, but not for the actionscript version.
It did compile in the frameworks directory, but no swf was created:(

I will keep trying, but thanks so much for your hep. I am going to install ant & excplise as that might seem like a better plan. I don't mind using the command line, but I just want a way that works best.

Thanks so much for your help,
John

Alisdair Mills <[EMAIL PROTECTED]> wrote:
Hi John,

looks like you are using an old tutorial put up for the flex2 alpha... things have changed somewhat since then - try :

flex/bin/mxmlc flex/frameworks/HelloMXML.mxml

note you'll need to change the macromedia namespace to http://www.adobe.com/2006/mxml.

There are loads of ways to make mxmlc compiling easier on a Mac - ANT if using eclipse, or setting up your .bash_profile to automatically find the flex bin folder if you prefer the command line. Have been meaning to collect a lot of this kind of info and gather it in one place... i'll try and sort that out this week.

Hope this helps.

cheers, Al

On 26 Mar 2006, at 05:15, John wrote:

Hi Everybody,

I downloaded the Flex SDK 2.0 (http://www.macromedia.com/cfusion/entitlement/index.cfm?e=labs)

I hae some questions:
How do I compile the flex and actionscript files? I tried:
java -jar flex/lib/mxmlc.jar -flexlib flex/frameworks/HelloMXML.mxml

I get the error message:
Unable to access jarfile {flex}/lib/mxmlc.jar

same problem with actionscript.
java -jar flex/lib/mxmlc.jar -flexlib flex/frameworks/HelloAS3.as
I did check, and this file does exsist in flex/lib/mxmlc.jar

I haved flex at /Users/johnbarrett/flex

I am just hoping to compile the flex application to get the swfs

I tried many different ways to get this to work, but could not. The flex download came with samples, and I am lost on how to get those compiled too:(

I heard about Ant too, is that a better way? is ant java? I am just taking java I now at school, learning, but no where near to "knowing java"

can anybody offer me some help?
Thanks so much,
John



 


Blab-away for as little as 1¢/min. Make PC-to-Phone Calls using Yahoo! Messenger with Voice.


--
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









 


Yahoo! Messenger with Voice. Make PC-to-Phone Calls to the US (and 30+ countries) for 2¢/min or less.


--
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