Pinto
06-16-2010, 12:51 AM
I'm trying to make one movie clip which i can attach other movie clips to. I'm just trying so I can change the graphic by attaching different mcs to the one called mouseObj. The code is really simple and I don't know what's wrong. Is it that I can't attach a movie clip to another?
var mouseObj = new MovieClip();
mouseObj.attachMovie('block', 'name', 1);
will not work but my library does have a linked item with the name block because
_root.attachMovie('block', 'name', 1);
does work.
~Pinto
var mouseObj = new MovieClip();
mouseObj.attachMovie('block', 'name', 1);
will not work but my library does have a linked item with the name block because
_root.attachMovie('block', 'name', 1);
does work.
~Pinto