Spot the bug

Thank you for your tutorials. I am really new to as, I have managed to make a drawing “thing” which draws different coloured stars. Sometimes it works perfectly and other times it sticks with the one colour. The code is below. Thanks. Also when i download your source files the display is really small. How can i make them full size? im using flash8.
movieclips = [“star”,“sty”,“strs”];
i = movieclips.length;
k = Math.floor(Math.random()*i);
var Num:Number = 0;
_root.onMouseDown = function () {
_root.onMouseMove = function () {
var temp = _root.attachMovie(movieclips[k],“star”+ Num++,_root.getNextHighestDepth());
temp._x = _root._xmouse;
temp._y = _root._ymouse;
temp.gotoAndStop(Math.ceil(Math.random()*4));
temp._xscale = temp._yscale = Math.random()*100+20
temp._alpha = Math.random()*100+20
}
}
_root.onMouseUp = function(){
delete _root.onMouseMove;
}