flash Q

Out of context: Reply #10

  • Started
  • Last post
  • 10 Responses
  • davi-t0

    Also, from my understanding of ur AS experience you prolly don't know how to use Arrays, loops or functions. So, here's a cheezy way how to disable all of the other buttons when u rollover one button:

    btn1.onRollOver=function(){
    button2.enabled=false;
    button3.enabled=false;
    button4.enabled=false;
    this.enabled=true;
    //--> Add code to trigger rollover animation here.
    }

    Repeat for the rest of the buttons, swap the btn instances that should be disabled accordingly. The big ass button post I told u earlier is actually a much easier way to accomplish this.

    Again, this is not how you 'should' do it, but its a way if u do not understand arrays. Arrays basically would take away the tedious process of hard coding EVERY button like how I just showed you. You should read up on Functions, Variables, loops, and arrays...will make ur life mucho easier.

View thread