Attachmovie clip help

Hi!I need help with this. I’ve been pulling my hair out on this. What I dreamed to do:

• Be able to attachmovie on stage multiple times with one movieclip. (ex. i called symbol1 but clicking button1, when i click button1, i get another symbol1 on stage and so on)

• Have 1 button on stage that control the flipping of these items. 1st button flips the last movie clip I clicked on stage

• Have this movieclips be draggable.What I wanted to do is I have multiple movieclips and I call them by using attachmovie option. So when I click a button I call that movieclip into stage.When I click that button I want to be able to create multiple movieclips to appear on stage. Is it possible on AS2?


Somehow I was able to make this work BUT I was only able to make it work if the movieclip is already on stage and I have added instance name on it. When I try having an attachedmovie clip called on stage, the flip button does not work. so far this is how I did for the attachmovie:

on (release) { _root.attachMovie(“flipbed1”,“flipbed1”, this.getNextHighestDepth(), {_x:100, _y:100}) }

  • so this one calls out flipbed1 movieclip on stage and in the frame this is what I added:

var numFlipbed_LastClicked:String=none;
flipbed1.onPress=function(){ numFlipbed_LastClicked = flipbed1;
}

buttonMC.onPress = function()
{ _root.numFlipbed_LastClicked._xscale= -100; };

but nothing happens. I can’t even click on the movieclip attached.

Probably maybe because instance name is different with linkage id but I am new at this so any help is appreciated