my main page has 5 buttons. when it loads, it has nothing. the user should should from the buttons where he wants to go: about, pictures, graphics, webdesign,contact.
i want to disable each button in its own page. for example, when clicked on “about”, the about SWF loads but i want the “about” button to be disabled in his page.
same for the rest. i have some mouseover captions also.
i tried the code posted by electrongeek but it didnt work at all.
this code loads a swf for each content area and disables the selected button and then enables all other buttons, just change the button names. this works very well
You should use Button.enabled for this, and set it to false when you press a button. But if you want it to work, you’ll have to use dynamic even handlers like Subquark did (in order to be able to do this.enabled=0;
hi elietabet, wish i could take the credit for the code i posted, but i am nowhere near that good. it was developed with the BIG help of certain gracious members of this forum. for a better explanation, you can go to my site and click the “subquark actionscript” button in the lower left hand corner. i put most of the code there and a screenshot of my basic button (an mc) structure - good luck
i hope to one day have a hundredth of the actionscript skill of ilyaslamasse (really, no bs)