Porting to FlasCC