photography by Kristel van Beek
posted by: martijn, at 15 March 2012 13:30 GMT+1, 15 March 2012 20:26 GMT+1
The build.xml file can be viewed here.
I'm using this piece for compiling native AIR applications. Because I was searching (a few months ago) for such a functionality in ANT and could not find it I wrote this very nifty piece of ANT xml.
Use and abuse!
posted by: martijn, at 6 April 2011 22:42 GMT+1, 6 April 2011 22:52 GMT+1
Flex 4 is build around TLF and to embed fonts you need to add "embedAsCFF:true" to the Embed statement which is a Flex 4 (or greater) option.
posted by: martijn, at 26 November 2010 12:16 GMT+1, 26 November 2010 12:25 GMT+1
override public function addEventListener(
type:String, listener:Function,
useCapture:Boolean = false,
priority:int = 0,
useWeakReference:Boolean = false):void
{
if ( !
(
type == MouseEvent.CLICK ||
type == MouseEvent.DOUBLE_CLICK ||
type == MouseEvent.MOUSE_DOWN ||
type == MouseEvent.MOUSE_MOVE ||
type == MouseEvent.MOUSE_OVER ||
type == MouseEvent.MOUSE_OUT ||
type == MouseEvent.MOUSE_UP ||
//type == MouseEvent.MOUSE_WHEEL||
type == KeyboardEvent.KEY_DOWN ||
type == KeyboardEvent.KEY_UP
)
)
{
super.addEventListener(type, listener, useCapture,
priority, useWeakReference);
}
};
Ugly but works!