Hello all,
I'm thinking there should be a simple answer to this: I have menu with 10 buttons, each loads a movie. What I want to do is turn off the button action of the movie that is currently loaded and then turn it back on again when another movie is loaded.
For example, if your click on the Portfolio button, the Portfolio.swf loads into level 100. While you are in the Portfolio section you can't click on the Portfolio button and load it again.
Hope this is clear. Thank you in advance
RPF
here goes for a cool, collected dive at death and destruction, and the devil fetch the hindmost.
You can use "enabled" to turn things on and off, ie:
on(release){
this.enabled=false//turns it off
_root.oldButton.enabled=true
}
makes the current button disabled, and makes the previous disabled button enabled again. I did a file up like this for someone the other day. Let me know if you'd like to see it.
Ok, here it the file, in case you want to have a look at an easy way to turn one button off, and make the previous one turn back on again, without having to use: