Hi Martin

try using

myScrollPane_sp.setScrollProperties(1024,1,585,1);

you might have to make that method public if it was private, check the
ScrollPane.as class in your

c:\documents and settings\[userName]\local settings\application
data\macromedia\flash 8\en\configuration\classes\mx\containers

its conceptual, but I think it could work ! try it
good luck,
Yehia Shouman <http://www45.brinkster.com/chaoschaos/>


On 1/10/06, Martin Baltzer <[EMAIL PROTECTED]> wrote:
>
> Hi,
>
> I am using the Scrollpane component in a flash 8 movie and it works
> fine.
> My scrollpane size is set equal to the Stage size everytime its being
> resized.
>
> If stage size gets below 1020*585 I've set it up to show the scrollbars
> because I know for sure that my content requires that minimum size.
>
> My question is:
>
> Event though the visible content area is 1020*585 the content itself may
> be way larger due bigger material that have been masked off etc, and
> then the scrollpane detect that size and scrolls way to much.
>
> When the scrollbars are turned on I only want to scroll up to max
> 1020*585 even if my content is 10 times that size.
>
> Is this possible and if not does anyone knows of another way to handle
> this without spending many days on building a new scrollpane component?
>
> Thanks in advance
>
> /Martin
> _______________________________________________
> Flashcoders mailing list
> Flashcoders@chattyfig.figleaf.com
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>
_______________________________________________
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Reply via email to