is 'updateDisplayList' a Flex 2 method? I'm using 1.5
--- In [email protected], "Manish Jethani"
<[EMAIL PROTECTED]> wrote:
>
> On 5/4/06, leo4beer <[EMAIL PROTECTED]> wrote:
>
> > I'm building an AS component for Flex (using as only).
> > My component will contain a dynamic nap loader which the users may be
> > able to scroll.
>
> > What should I use in order to enable scrolling with pure AS component?
>
> The easiest option is to make your component a *container* by
> extending mx.core.Container. Lay out the children in
> 'updateDisplayList' (you probably have only one child at 0,0) and the
> scrollbars should show up automatically if the child is larger than
> the container's area.
>
> There's a difference between containers and controls. If you strictly
> want your component to be a control, then you could also extend it
> from mx.core.ScrollControlBase and calling the 'setScrollProperties'
> method in your 'updateDisplayList' implementation. See a recent thread
> on this forum about this topic.
>
--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com
SPONSORED LINKS
| Web site design development | Computer software development | Software design and development |
| Macromedia flex | Software development best practice |
YAHOO! GROUPS LINKS
- Visit your group "flexcoders" on the web.
- To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
- Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.

