
05-13-2008, 05:15 AM
|
|
Incubator
|
 |
Join Date: Aug 2004
Location: Houston, Texas
Posts: 3,613
|
|
|
The first parameter of catchevent should be a string (the object's name) not an object variable.
catchevent("InvItem_0", "onMouseDown", "onItemSelected"); or
catchevent(InvItem_0.name, "onMouseDown", "onItemSelected");
If it works with the variable it would be because it takes the object name from the variable. |
|
|
|