The child of the Scroller (called viewport) must resize freely for
scrolling to work. If you set its size to '100%' then it will always have
the size of the scroller and scrolling will never be required. Try this
(not tested):

<s:Scroller width="100%" height="100%" verticalScrollPolicy="on">
  <s:Group>
    <mx:Container verticalScrollPolicy="off" horizontalScrollPolicy="off" />
  </s:Group>
</s:Scroller />

Haykel Ben Jemia

Allmas
Web & Mobile Development
http://www.allmas-tn.com




On 9 February 2012 02:15, method_air <loudj...@hotmail.com> wrote:

> **
>
>
> Is it possible to hide the mx scrollbars for an mx component, and show the
> spark scrollbars of the spark 'scroller' component wrapping it instead? How
> can I get this example to work:
>
> <s:Scroller width="100%"
> height="100%"
> verticalScrollPolicy="on"
> >
> <s:Group width="100%"
> height="100%">
> <mx:Container width="100%"
> verticalScrollPolicy="off"
> horizontalScrollPolicy="off"
> height="100%" />
> </s:Group>
> </s:Scroller />
>
> Cheers,
>
> Philip
>
>  
>

Reply via email to