[Laszlo-dev] <text> scrolling madness
Henry Minsky
hminsky at laszlosystems.com
Fri Dec 12 17:23:20 PST 2008
Way back when (swf5 days), David Temkin asked to make it possible to
do pixel-precision scrolling, which is
why I think that got put in.
On Fri, Dec 12, 2008 at 7:30 PM, André Bargull <andre.bargull at udo.edu> wrote:
>>
>> Text has methods for:
>>
>> setScroll
>> setHScroll
>> setXScroll
>> setYscroll
>>
>> Can anyone explain these to me? How many dimensions can the text be
>> scrolled in?
>>
>
> From the implementation for swf8 textsprites:
> setScroll -> changes TextField#scroll
> setHScroll -> changes TextField#hscroll
> setXScroll -> changes the x-offset of the textfield, so TextField#_x
> setYScroll -> changes the y-offset of the textfield and performs "advanced"
> tricks, so TextField#_y + TextField#scroll
>
> But who needs all those different methods?
>
> ---
> Madness? This is Sparta!
>
>
--
Henry Minsky
Software Architect
hminsky at laszlosystems.com
More information about the Laszlo-dev
mailing list