|
-
Pixel Artéést
[RESOLVED] adding variables to movieClips?
Hey,
(Using AS3)
I'm doing a simple grid layout of boxes (movieClips), i'm then trying to save their current position to each of the movieClips.
So in AS2 i'd do something like ...
obj.origX = obj._x;
obj.origY = obj._y;
but it's saying;
1119: Access of possibly undefined property targetX through a reference with static type flash.display isplayObject.
How can i add custom variables to movieClips?
Thanks!
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|