bennyxqg / lua-alchemy

Automatically exported from code.google.com/p/lua-alchemy
0 stars 0 forks source link

Exception:TypeError in Adobe Scout #166

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. I'm calling as3 function from lua and passing luafunction as argument to as3 
function
2. When i try to call this lua function from flash (as3) i recieve this 
exception

Exception: TypeError global/AS3_InstanceOf 
Function/http://adobe.com/AS3/2006/builtin::apply Function/<anonymous> 
cmodule.lua_wrapper::FSM_push_as3_to_lua_stack_if_convertible/work 
Function/<anonymous> Function/<anonymous> Function/<anonymous> 
flash.events::EventDispatcher/dispatchEventFunction 
flash.events::EventDispatcher/dispatchEvent 
away3d.containers::ObjectContainer3D/dispatchEvent 
away3d.containers::ObjectContainer3D/dispatchEvent 
away3d.core.managers::Mouse3DManager/fireMouseEvents 
away3d.core.managers::Stage3DProxy/present 
away3d.core.managers::Stage3DProxy/onEnterFrame 

3. In Adobe Scout i see this error few hundered times?

4. Plus sometimes i also recieve this exception
Exception: cmodule.lua_wrapper::AlchemyYield cmodule.lua_wrapper::Machine/work 
cmodule.lua_wrapper::CRunner/work Function/<anonymous> 
flash.utils::Timer/_timerDispatch flash.utils::Timer/tick 

OS:
Windows 7
LuaAlchemy 0.32
FlashBuilder/FlashDevelop
Away3D 4.16

Why is this happening ?

Original issue reported on code.google.com by 3oj...@gmail.com on 15 Apr 2014 at 2:11