[TxMt] AS3/Flex, how to begin?

Gaby Vanhegan gaby at vanhegan.net
Wed Oct 31 11:44:03 UTC 2007


On 31 Oct 2007, at 11:32, Simon Gregory wrote:

>> One question though; where is a sensible place to set any extra  
>> arguments that are passed to mxmlc at compilation time (Apple-B)?   
>> I need to add a -default-size argument to the compiler but can't  
>> see where.  I don't want to edit the build script but I want to  
>> put it in the 'right' place.  Is there a project specific variable  
>> I could use?
>
> There are two ways to do this...
>
> By default mxmlc will also search for a config file in the same  
> directory as your Main.as or Main.mxml file with a -config.xml  
> suffix (so Main-config.xml).

That's exactly what I was looking for, thank you!  I had put the  
directives into the Flex/frameworks/flex-config.xml files originally  
as a work-around but I wasn't happy with this.  This solution solves  
the problem neatly and cleanly.

Many thanks!

Gaby

--
Junkets for bunterish lickspittles since 1998!
http://www.playr.co.uk/


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macromates.com/textmate/attachments/20071031/de590d65/attachment.html>


More information about the textmate mailing list