coolabs87
12-03-2007, 09:00 PM
hey again everyone, just need a lil help again! :p
i was wondering how to edit my duplicateMovieClip code to create multiple movieclip instances on screen at once and of different sizes- its a asteroid avoidance game lol
My code on root timeline (first frame) is:
onEnterFrame = function() {
var asteroid_mc:MovieClip = asteroid_mc.duplicateMovieClip("asteroid2_mc",3)
asteroid_mc._x += 40;
asteroid_mc._xscale = 75;
asteroid_mc._yscale = 110;
};
the best ive got so far is just one more asteroid, so any help would be most grateful!:D
i was wondering how to edit my duplicateMovieClip code to create multiple movieclip instances on screen at once and of different sizes- its a asteroid avoidance game lol
My code on root timeline (first frame) is:
onEnterFrame = function() {
var asteroid_mc:MovieClip = asteroid_mc.duplicateMovieClip("asteroid2_mc",3)
asteroid_mc._x += 40;
asteroid_mc._xscale = 75;
asteroid_mc._yscale = 110;
};
the best ive got so far is just one more asteroid, so any help would be most grateful!:D