Seems like it’s dirty to me, but in AS3 you can’t just go !ranOnce so yea. If anyone knows a better way, I’m all ears!
var ranOnce:Boolean; if(ranOnce != true) { setMenu(); ranOnce = true; }
Tech Reference: AS3
Tramping, Tales, Training and Travails
Seems like it’s dirty to me, but in AS3 you can’t just go !ranOnce so yea. If anyone knows a better way, I’m all ears!
var ranOnce:Boolean; if(ranOnce != true) { setMenu(); ranOnce = true; }
Proudly powered by WordPress | Theme: Baskerville 2 by Anders Noren.
Leave a Reply