2 Replies Latest reply on Apr 26, 2009 7:53 PM by Ned Murphy

    Quick AS2 Question

      Hello there peeps. I've started designing an interface on flash and I've encountered some problems...
      This might be a noob mistake but whatever xD

       

      So take a look at the interface as of now:

      http://megaswf.com/view/00b843d015d570622506e8d38a496166.html

       

      When you go over the blue part with your mouse, a shadow appears under it. This part works fine.
      However, when you go over of the buttons, the shadow disappears. It comes back when you roll out of the button. What I want is for the shadow to be there even if you are on the buttons.

       

      Any help/ideas?

       

      Oh and here is the code:


      function back_over(){
           this.gotoAndPlay("back_over")
      }
      function back_out(){
           this.gotoAndPlay("back_out")
      }
      function back_normal(){
           this.gotoAndPlay("back_normal")
      }


      function button_1_over(){
           this.gotoAndPlay("button_1_over")
           }
      function button_1_out(){
           this.gotoAndPlay("button_1_out")
           }


      function button_2_over(){
           this.gotoAndPlay("button_2_over")
           }
      function button_2_out(){
           this.gotoAndPlay("button_2_out")
           }
         
      toolbar_back.onRollOver = back_over
      toolbar_back.onRollOut = back_out


      button_1.onRollOver = button_1_over
      button_1.onRollOut = button_1_out


      button_2.onRollOver = button_2_over
      button_2.onRollOut = button_2_out

       

      Thanks