Wrox Home  
Search P2P Archive for: Go

  Return to Index  

flash_programming thread: scrolling text


Message #1 by ";) :)" <smart_spark1@h...> on Mon, 09 Sep 2002 19:55:01 +0000
Thank you for your help,
Alexander A. Basa.I am using flash 5, and i shall try out wht you have 
suggested.
thanx.
Spark.

>From: "Alexander A. Basa" <xbasa@y...>
>Reply-To: "Flash Programming" <flash_programming@p...>
>To: "Flash Programming" <flash_programming@p...>
>Subject: [flash_programming] Re: scrolling text
>Date: Thu, 12 Sep 2002 10:12:12
>
> > Hi everyone,
>i have been trying to get the text to scroll continuously, on mouse over,
>but am unable to do so.It will scroll, but not for as long as the mouse
>is
>over the button.For eg. it will scroll 5 lines as soon as the mose is
>over
>the button, and will then stop, then after i move the mouse out, and then
>bring it over, then it will scroll 5 lines again.
>
>Could anybody guide me? give me a hint about what i should do ??
>thanking you,
>Spark.
>
>
>
>
>_________________________________________________________________
>MSN Photos is the easiest way to share and print your photos:
>http://photos.msn.com/support/worldwide.aspx
>
>if you are using flash mx there already is a built in component-listbox
>but if you are using flash 5 you need to create a script something like
>this.
>
>onClipEvent(enterFrame) {
>    if(_root.goUp) {
>       if(myTextField.scroll > 0)
>          myTextField.scroll -= 1;
>    }
>}
>
>then you have to have a button that has something like this
>on(press) {
>    _root.goUp = true;
>}
>
>on(release) {
>    _root.goUp = false;
>}




_________________________________________________________________
MSN Photos is the easiest way to share and print your photos: 
http://photos.msn.com/support/worldwide.aspx


  Return to Index