PROBLEM WITH SLIDEIN_MENU!

  • lilith
  • Born
  • Born
  • lilith
  • Posts: 3
  • Loc: CROATIA

Post 3+ Months Ago

Quote:
If smb can help me with this...first, sorry about my english...I downloaded some tutorial about how to make slideIN_menu, but when I try to write on one menu rectangle text is appearing on all other retangles. The code in AC is for all rectangles of this menu so I think here is the problem, but I dont know how can I separate AS and write a code for every sigle rectangle. I dont know if I can explain what I mean, but here is the end of the code:


//but actions
//use a for loop to reduce repetition of the code
for(i=1;i<6;i++){
theButton=_root.menu["but"+i];
//this variable stores what number button it is
theButton.thisNum=i;
theButton.onEnterFrame=function() {
//if the mouse is over the but
if (_root.menu["but"+this.thisNum].overMe) {
//call the bounce prototype
this.elasticScale(150, 0.7, 0.3)
} else {
this.elasticScale(100, 0.7, 0.3)
}
}
theButton.onRollOver=function(){
//set a variable
_root.menu["but"+this.thisNum].overMe=true;
//bring to the front
_root.menu["but"+this.thisNum].swapDepths(5000)
}
theButton.onRollOut=function(){
//set a variable
_root.menu["but"+this.thisNum].overMe=false;
}
}

If smb know please help the beginner!

Post Information

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

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