Flasher Archive

[Previous] [Next] - [Index] [Thread Index] - [Previous in Thread] [Next in Thread]


Subject: Re: FLASH: Turning Scroll bars on/off dynamically based on amount of text?
From: Bill Numerick
Date: Wed, 2 Aug 2000 19:30:38 +0100

Thanks Wayne,

I'll have to test that way out. I figured out a what to do that seems to
work now that i know how the textfield.maxscroll thing works. For those
wondering...this is what i did after i loaded the text file

Set Variable: "lastline" = textfield.maxscroll
If (lastline > "2")
Set Property ("scrollbar", Visibility) = true
Else If (lastline <= "2")
Set Property ("scrollbar", Visibility) = false
End If

It seems as though the value of maxscroll is 2 or less if the textfield does
not have to scroll...and adds 1 per line of text after that.

Thanks again for the help Wayne

-Bill Numerick


>From: "Wayne Pennell \( Web Master \)" <wpennellatpbmgraphics [dot] com>
>Reply-To: flasheratchinwag [dot] com
>To: <flasheratchinwag [dot] com>
>Subject: Re: FLASH: Turning Scroll bars on/off dynamically based on amount
>of text?
>Date: Wed, 2 Aug 2000 13:01:58 -0400
>
>Load Variables ("some.txt", 1)
>If Frame Is Loaded (1)
> Set Variable: "X"= Length ("some.txt")
>End Frame Loaded
>
>
>
>Set Variable: "T" = Length (TextField1)
> Set Variable: "Textfield2" = T
>
>
>If T < X
>then
> Begin Tell Target ("/addscrollbar")
> play
>End Tell Target
>end if
>
>
>something along those lines...
>
>Wayne Pennell
>
>----- Original Message -----
>From: "Bill Numerick" <bigwilly0219athotmail [dot] com>
>To: <flasheratchinwag [dot] com>
>Sent: Wednesday, August 02, 2000 10:01 AM
>Subject: FLASH: Turning Scroll bars on/off dynamically based on amount of
>text?
>
>
> > Hi All,
> >
> > I've got a question I'm hoping someone can help me out with so I don't
>spend
> > all day trying to figure it out =). I'm trying to turn scroll bars on
> > automatically if there is more text than what can be displayed at once
>on
> > screen. The text is being pulled from a text file that the client will
>be
> > updating.
> >
> > Thanks for any help.
> >
> > -Bill Numerick
> > ________________________________________________________________________
> > Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com
> >
> >
> > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> > Full flasher archive now available online at:
> > http://www.chinwag.com/flasher/archive.shtml
> > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> > To unsubscribe or change your list settings go to
> > http://www.chinwag.com/flasher or email helpatchinwag [dot] com
>
>
>~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> Full flasher archive now available online at:
> http://www.chinwag.com/flasher/archive.shtml
>~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>To unsubscribe or change your list settings go to
>http://www.chinwag.com/flasher or email helpatchinwag [dot] com
>

________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Full flasher archive now available online at:
http://www.chinwag.com/flasher/archive.shtml
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
To unsubscribe or change your list settings go to
http://www.chinwag.com/flasher or email helpatchinwag [dot] com


[Previous] [Next] - [Index] [Thread Index] - [Next in Thread] [Previous in Thread]