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

  • gilgalbiblewheel
  • Born
  • Born
  • No Avatar
  • Joined: Jul 02, 2004
  • Posts: 2
  • Status: Offline

Post May 28th, 2007, 3:04 pm

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
  • Joined: 25 Feb 2008
  • Posts: ?
  • Loc: Ozzuland
  • Status: Online

Post May 28th, 2007, 3:04 pm

Post Information

  • Total Posts in this topic: 1 post
  • Users browsing this forum: No registered users and 29 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
 
 

© 2011 Unmelted, LLC. Ozzu® is a registered trademark of Unmelted, LLC.