What I'm trying to do is move an instance of a movie clip from inside one mc to a different mc.
on the frame of the to-be-moved:
on the main timeline:Code:var i = 0; onEnterFrame = function() { i++; if (i == 100) { _root.freshEnTile(1, _x, _y); this.removeMovieClip(); } } stop();
I do get the "hi y'alls" message, so to some extent it does work. My problem is that when the mc that calls the function removes itself, it somehow takes the new one with it, even though there is absolutely no line in my code saying to remove the new mc.Code:function freshEnTile(a:Number, x:Number, y:Number) { trace("hi y'alls"); enNum++; bob.attachMovie("a"+a, "a"+enNum, enNum); bob["a"+enNum]._x = x; bob["a"+enNum]._x = y; }
I'm completely baffled.




Reply With Quote