A Flash Developer Resource Site

Results 1 to 2 of 2

Thread: submenu buttons and rollout effect

  1. #1
    Junior Member
    Join Date
    May 2008
    Posts
    6

    submenu buttons and rollout effect

    I have a button with rollover effect:
    on (rollOver) {
    //Movieclip GotoAndPlay Behavior
    this.gotoAndPlay("s1");
    //End Behavior
    }
    on (rollOut) {
    //Movieclip GotoAndPlay Behavior
    this.gotoAndPlay("s2");
    //End Behavior
    }
    on (releaseOutside) {
    //Movieclip GotoAndPlay Behavior
    this.gotoAndPlay("s2");
    //End Behavior
    }


    On rollover I created movie clip with sub buttons, submenu effect working,
    but when I started linking web pages to sub buttons it wont work.
    I had to extend hit area for button so rollout effect wont start and supbuttons appear under hit area of original button, I didn’t know that buttons is Flash CS3 cant overlap.
    So question is how do I create working buttons with subbuttons and rollout effect.

    Thank you for your help.

  2. #2
    Junior Member
    Join Date
    May 2008
    Posts
    6


    i think if I move rollout effect script from actual buttons to new button with hit area around actual buttons and subB so I would keep my rollout affect and my buttons wont overlap.

    Is there an easier way to do this?

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  




Click Here to Expand Forum to Full Width

HTML5 Development Center