Not sure if this is possible, but for my game I am trying to swap movie clips from my library with movie clips on the stage. Example: I have a monster pop-up, when I click it I want it to be swapped with a new movie clip of that monster burning. I need it to keep the same animation (appears in place of the monster clicked, then moves down into hiding) Right now I have attachMovie setup so that when I click the monster the burned monster does appear on the stage, but at the resting point of the monster clicked (where it sits at frame 0) and it's not masked.
Right now this is what I have
Code:_root[numMonsters].onPress = function() {//start of onPress function for numMonsters if(this._currentframe >= 12 and this._currentframe <= 17) { monsterTakeDmg() this.play(); //makes the Monster go down if hit hitCount++; //raises the hits by 1 scoreDisplay.monstersHit_text.text = hitCount + " Slain"; this.attachMovie("mc_MonsterFire", "Monster", 0); } }//end of onPress function for numMonsters


Reply With Quote

Bookmarks