Skip to main content

Disable Images

actionscript help

Hello!
Need a little quick help with some as2.
I have this menu with active states.
Now I want to pass a variable to the flash file saying that button1 should be active.
So I have a flashvar saying that button=btn1.
now I want to somehow pick that up in the flash file and say something like
if (button == btn1) {
//code for active state
}

any pointers. Been looking for too long now and cant get it to work.

66Comments

Skip to main content