lizhi Shaun_Max var state:LuaState = LuaAPI.NewState(); trace(state.pointer); trace(state.dostring("i = 0 k=100 h=101 for j=0,10000000,1 do i=i+1 end")); trace(state.getglobaltointeger("i"), state.getglobaltointeger("k"), state.getglobaltointeger("h"));
Shaun_Max lizhi I am sorry I didnt get you.... Somehow I am forced to believe that using your ane. we can run lua code in our as3 app???
lizhi Shaun_Max https://github.com/matrix3d/TestAdobeAirAne/blob/main/swc/src/Main.as#L57 yes,this is my deom code run lua in as3 windows,and ios.but it is developing,and just some simple code now