So I leave actionscript for two minutes and it changes on me >_<
I’m trying to figure out the new linkage stuff (which actually isn’t linkage at all), and have done pretty well thus far.
So I made a little blue circle movieclip, put it into my library, and gave it a class identifier “mc” with the flash.display.MovieClip as it’s base class.
Then I have this code on the stage:
var totNum:Number = 20;
var mcs:Array = new Array();
for(var i = 0; i<totNum; i++){
var myMC = new mc;
mcs* = myMC;
myMC.ind=i;
myMC.x=Math.random()*stage.stageWidth;
myMC.y=Math.random()*stage.stageHeight;
trace(mcs*.visible);
}
Very simple it seems, but when I run the movie, nothing appears on the stage! The traces that I’ve been running have all returned results relevant to the movieclip instances I am placing on the stage, but still nothing is displayed… What am I doing wrong, and is there a nice tutorial for this somewhere online?