Adding movieClips to movieClip

Hi All,

I’m trying to split my stage into 2 sections

  • bubbleZone
  • menuZone

so I have created 2 sections and turned them into movieClips. On the first bubbleZone movieClip I want to add multiple “bubble” movieClips which will only appear in the bubbleZone movieClip. See code below. However, the bubbles seem to be appearing all over the stage and are hidden by the bubbleZone movieClip. Is there anyway to make the bubbleZone movieclip pretty much just a background for catching events and then tying the individual bubbles to just the bubbleZone so they don’t appear anywhere else on the stage?

Thanks in advance for any help - it’s greatly appreciated.
Derm

var bubbleZone:BubbleZone = new BubbleZone();
bubbleZone.vx = 1;
bubbleZone.height = 600;
bubbleZone.width = 820.8;
bubbleZone.x = 410.4;
bubbleZone.y = 295;

for (i=0; i < pointsArray.length; i++){
var studentEntityInstance:StudentEntity = new StudentEntity();
studentEntityInstance.name = “studentEntity” + i;
studentEntityInstance.visible = true;
studentEntityInstance.height = 20;
studentEntityInstance.width = 20;
studentEntityInstance.x = pointsArray*.x;
studentEntityInstance.y = pointsArray*.y;
studentEntityInstance.z = pointsArray*.z;
studentEntityInstance.buttonMode = true;
facade.registerMediator( new EntityMediator(studentEntityInstance) );
bubbleZone.addChild(studentEntityInstance);
}