First, When you instantiate the object, do this:
var theObject:GameObject = instantiate(stuff);
then you have a GameObject to work with.
(Assuming moveto is from iTween...)
iTween.MoveTo(theObject,moreStuff);
↧