how to open three movie clips in a clip in a timeline button

  • gilgalbiblewheel
  • Born
  • Born
  • gilgalbiblewheel
  • Posts: 2

Post 3+ Months Ago

I want this structure (hierarchy):
Quote:
main timeline
|------ mc
|------ mc1
|------mc2
|------mc3



The main timeline has three buttons. Each should open one mc which would open mc1, mc2, mc3 whichever button is clicked.

How can this be done?

I tried to add loadMovie("flash/flame.swf", ifr); but it didn't work. It opens the flames.swf but not the level 2 movie clip (level 2 right? ...since level 0 is the main timeline)
Code: [ Select ]
var flashArray = new Array("flash/hockey.swf","flash/baseball.swf","flash/armenair.swf");
for(var i=0;i<=flashArray.length-1;i++){    
    this["btn"+i].num = i;
    this["btn"+i].onRelease = function() {
        loadMovie("flash/flame.swf", ifr);
        loadMovie(flashArray[this._name.slice(3,4)], ifr.content);
    }
}
  1. var flashArray = new Array("flash/hockey.swf","flash/baseball.swf","flash/armenair.swf");
  2. for(var i=0;i<=flashArray.length-1;i++){    
  3.     this["btn"+i].num = i;
  4.     this["btn"+i].onRelease = function() {
  5.         loadMovie("flash/flame.swf", ifr);
  6.         loadMovie(flashArray[this._name.slice(3,4)], ifr.content);
  7.     }
  8. }
  • Anonymous
  • Bot
  • No Avatar
  • Posts: ?
  • Loc: Ozzuland
  • Status: Online

Post 3+ Months Ago

Post Information

  • Total Posts in this topic: 1 post
  • Users browsing this forum: No registered users and 11 guests
  • You cannot post new topics in this forum
  • You cannot reply to topics in this forum
  • You cannot edit your posts in this forum
  • You cannot delete your posts in this forum
  • You cannot post attachments in this forum
 
 

© 1998-2014. Ozzu® is a registered trademark of Unmelted, LLC.