Drop Down Menu Problem

  • mariapg
  • Born
  • Born
  • No Avatar
  • Joined: May 24, 2011
  • Posts: 1
  • Status: Offline

Post May 24th, 2011, 6:49 am

Hello,

I'm having some trouble with this script. If I take out the rollover is for the drop down and the other tells which page to open when clicked. They work separately but not together. Can anyone see where my problem is? Thank you.

ACTIONSCRIPT Code: [ Select ]
on(rollOver) {
this.gotoAndStop("open");
}
 
 
on (releaseOutside, rollOut) {
if (_root.link<>1) {
this.gotoAndPlay("s2");
}
}
 
on (release) {
if (_root.link<>1 and _root.flag_animation1 == 1) {
_root.flag_animation1 = 0;
_root.menu["item"+_root.link].gotoAndPlay("s2");
_root.link_prev = _root.link;
_root.link = 1;
_root.scrollPART.gotoAndStop(2);
_root.scroller.scroller.gotoAndStop(3);
_root.play();
 
 
}
}
  1. on(rollOver) {
  2. this.gotoAndStop("open");
  3. }
  4.  
  5.  
  6. on (releaseOutside, rollOut) {
  7. if (_root.link<>1) {
  8. this.gotoAndPlay("s2");
  9. }
  10. }
  11.  
  12. on (release) {
  13. if (_root.link<>1 and _root.flag_animation1 == 1) {
  14. _root.flag_animation1 = 0;
  15. _root.menu["item"+_root.link].gotoAndPlay("s2");
  16. _root.link_prev = _root.link;
  17. _root.link = 1;
  18. _root.scrollPART.gotoAndStop(2);
  19. _root.scroller.scroller.gotoAndStop(3);
  20. _root.play();
  21.  
  22.  
  23. }
  24. }
  • Anonymous
  • Bot
  • No Avatar
  • Joined: 25 Feb 2008
  • Posts: ?
  • Loc: Ozzuland
  • Status: Online

Post May 24th, 2011, 6:49 am

  • Zealous
  • Guru
  • Guru
  • User avatar
  • Joined: Apr 15, 2011
  • Posts: 1195
  • Loc: Sydney
  • Status: Offline

Post June 25th, 2011, 3:59 am

What no introduction to the mighty Ozzu forum?

Post Information

  • Total Posts in this topic: 2 posts
  • Users browsing this forum: No registered users and 28 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.