AS 2.0 Classes
AS 2.0 Classes
Out of context: Reply #3
- Started
- Last post
- 11 Responses
- daveFelton0
yeah, i was trying to access a different property than myShape, actually...i just used that in the example to make it simpler. in reality i'm trying
myShape.onRelease = function() {
trace(objectId);
}but that is being set where myShape is, and I can trace it outside of the action, just not from inside the onRelease.
maybe i should just do:
myShape.objectId = id;
when i assign myShape a value, then later
trace(this.objectId);
should work, yeah?