This content has been marked as final. Show 4 replies
if you want a button/movieclip button to only work once you can use its enabled property. if you want a button/movieclip button to continue to execute some code (but not all code) and continue to act like a button, the code you want to execute only once can be put in a conditional statement:
You are amazing!!!!!! I didn't even know there was such a thing as enabled property! But when you said it, i tried it and it worked perfectly! How do you know all this stuff? Thanks once again kglad!( i think you are the only person who's ever really answered my questions.
i learned mostly from this forum. for many months i would read questions (that had titles i could understand) that had responses. and i would continue to track those threads that i could understand and slowly gain information contributed by others.
now i learn mostly by helping others. for most questions posed on this forum either i know the answer because it's been asked and answered before or i can solve the issue using the information i've gathered, sometimes working through the problem using the flash program.
everytime i help solve a problem using the latter, i learn a little more. after 18,000+ responses and solving a few thousand problems i can't help but accumulate a substantial help data base. and the more you know, the easier it is to add more information and learn more.
Anytime you use something, oh I don't know, let's say a "button," go to the help files and find the Actionscript dictionary. Don't bother with searching for what you are trying to do, just go to that section. Under Flash MX04 it is
Help Menu–>ActionScript Dictionary
With Flash 8 I think it is called the ActionScript 2.0 Language reference.
Anyways, you can then look up the item by class. In this case, the button class. There you will find everything you can do with that class – all the properties, methods, and events.
Of course that won't make you a master all at once, but it will always provide a good starting place.