ForumsProgramming Forum(As3) Can't change name of a timeline placed object?

3 7459
mightybob
offline
mightybob
360 posts
Peasant

I am getting this weird error, in as2 I could change the name of timeline objects all i wanted thru code... No problemo!
But in as3 its not letting me do this...

(I'm getting this error: "Cannot change name of timeline placed objects&quot

I'm trying to add objects to an array but I need each object to need a separate name, but As3 isn't letting me change the name...

this.name = ("tile" + MovieClip(root).tiles.length);
MovieClip(root).tiles.push(this);

Is there a work around for this?

  • 3 Replies
Showing 151-150 of 3