Creating Haxe NME extensions

Posted by Dana on June 24, 2013 in NME |

Here are some links with all the useful information I could find. http://www.nme.io/community/forums/general-discussion/official-extensions-nme-coming-soon/ http://www.shoe-box.org/blog/?p=252 http://www.joshuagranick.com/blog/2012/03/20/how-to-create-an-nme-extension/ Extension to use as example: https://github.com/shoebox/HyperTouch


Haxe NME call function with delay

Posted by Dana on April 1, 2013 in NME |

Haxe Timer has the delay method. haxe.Timer.delay(func , time_ms); The function can’t accept parameters or return anything. If you need one of those things to happen I would suggest using it like this: haxe.Timer.delay(function () { func(arg1, arg2); }, delay);   EDIT theres a new way of doing this. You can use Actuate like this […]


Haxe NME Array indexOf

Posted by Dana on April 1, 2013 in HAXE, NME |

Arrays on Haxe/NME are not very straignt forward to me. So if your are looking for indexOf the Lambda Class is where you will find it. On the Haxe documentation for Array it show only this vars and methods: var length(default,null) : Int function new() : Void function concat( a : Array<T> ) : Array<T> function copy() : Array<T> function filter( f : T -> Bool ) : Array<T> function insert( […]


Alternative to mask when scrolling

Posted by Dana on December 5, 2012 in HAXE, NME |

Use scrollRect. Check the example:    


Copyright © 2012-2018 Code in GoGoLand All rights reserved.
This site is using the Desk Mess Mirrored theme, v2.5, from BuyNowShop.com.