# The new linkage stuff

**URL:** <https://forum.kirupa.com/t/the-new-linkage-stuff/228535>\
**Category:** flash\
**Created:** [June 8, 2007, 5:53pm UTC](https://forum.kirupa.com/t/the-new-linkage-stuff/228535 "2007-06-08T17:53:43Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![theonlycarmire](https://avatars.discourse-cdn.com/v4/letter/t/a183cd/32.png) [@theonlycarmire](https://forum.kirupa.com/u/theonlycarmire)\
**Post date:** [June 8, 2007, 5:53pm UTC](https://forum.kirupa.com/t/the-new-linkage-stuff/228535/1 "2007-06-08T17:53:43Z")

</div>

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:

```auto
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?
