Hi, I'm having the most difficult time with this and I'm hoping I can get a hand with it...this is a 2 part question, so please bear with me.
I have buttons throughout my flash movie that trigger MC's to load that have text content. Everything works well except one thing; when I click the buttons and then click them again I have a strange thing happen...my text fields have a component scrollbar with them and when I click the button a second time the scrollbar gets all screwed up. I have the scrollbar set to be a certain length but the second button click makes it tiny and really useless (not to mention really unprofessional looking). So my question becomes how can I click a button once and then disable it until I click another button? I already have a code that will turn the button off, but it's not what I need. I want each button, when clicked, to simply not respond to mouse clicks, but I need it to still be 'a button' and respond to rollOver's and rollOut's...any ideas??
As I mentioned above, I'm using component scrollbars in my movie. I have numerous text files that I am importing which are of various lengths. I'd like to know how I can get the scrollbar to recognize if a text file is too long for my dynamic text box's size and to be visible if the text is indeed too long for the box and of course to be invisible if it is not needed. Right now I have (very amteurishly) turned the scrollbar on or off with the _visible ='s script by manually testing each text file within my movie but I'd rather have a script that will recognize if the scrollbar is needed or not. Obviously at this point I don't know how to script something like that at all and of course I'd like to learn what to do, so could anyone point me to a tutorial or share their experience with this kind of situation with me?
Thanks for reading, have a good day.