Hi paul
Use this code.
myInput_txt.onChanged = function(){
if(this.maxscroll > 1){
myScrollbar._visible = true;
}else{
myScrollbar._visible = false;
}
}
I hope this will help you
Regards
Devendran.I
Paul Steven <[EMAIL PROTECTED]> wrote:
Thanks Devendran
Is there a way to get this to work with input text so when they type into
the text area, when there is sufficient text to require a scrollbar it
appears. Also if they remove text so there is no longer a need for it, it
then disappears again?
Thanks
Paul
-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Devendran
I
Sent: 02 December 2005 11:40
To: Flashcoders mailing list
Subject: Re: [Flashcoders] Hide scrollbar until enough text to require
it(UIScrollbar)
Hi,
After assigning text to the Text box check this
if(myText_txt.maxscroll>1){
myScrollBar._visible = true;
}else{
myScrollBar._visible = false;
}
i hope this will help u.
Regards
Devendran
Paul Steven
wrote:
When I include the UIScrollbar in my flash movie, the bar element appears
even when there is no text yet in the input text area and unfortunately it
isn't that pretty on its own.
So I would like this not to appear until there is enough text to justify its
appearance. The arrows do not appear until such time.
Any help much appreciated.
Thanks
Paul
_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
---------------------------------
Yahoo! Personals
Skip the bars and set-ups and start using Yahoo! Personals for free
_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
---------------------------------
Yahoo! Personals
Single? There's someone we'd like you to meet.
Lots of someones, actually. Yahoo! Personals
_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders