I am having problems using Caffeine-HX and NME. If I add the ext2 source it doesn't compile because of a lot of StringTools errors. I used the ext3 StringTools with the rest of the ext2 source, and it compiled fine, however.. When trying to use *ANY* encrypt function call I get the following error:
OutsideBounds
at haxe.io::Bytes/sub()
at chx.crypt::ModeECB/encrypt()
at com.test.app::RPG()
at com.test.app::RPG$/main()
at Function/
http://adobe.com/AS3/2006/builtin::apply() at Function/<anonymous>()
at ApplicationMain$/begin()
at ApplicationMain$/preloader_onComplete()
at flash.events::EventDispatcher/dispatchEventFunction()
at flash.events::EventDispatcher/dispatchEvent()
at NMEPreloader/onLoaded()
at ApplicationMain$/onEnter()
Bytes.sub() doesn't even seem to exist in haxe.io.Bytes, and the Bytes.hx in ext2 just contains a typedef to the
haxe.io version. Using the ext3 version of Bytes does not compile. Help(?)