A Flash Developer Resource Site

Results 1 to 2 of 2

Thread: HOW: force a Container (Accordion) to redraw

  1. #1
    Maya * ActionScript Addict DangerAhead's Avatar
    Join Date
    Jun 2000
    San Francisco

    HOW: force a Container (Accordion) to redraw

    How do you force a Container to measure the contents of all of it's children so that if a currently unseen pane has text that needs to scroll, it will generate the scrollbar BEFORE it's viewed.

    I have an accordion that I'm creating with AS 3.0 and adding a VBox with a text field. But if the content of the text field forces the content to scroll, the content is drawn on the screen then the scrollbar instantiates and the field scrolls with no further flickering
    Geordie Martinez
    www.citizenparanoid.com | email

  2. #2
    Mod cancerinform's Avatar
    Join Date
    Mar 2002
    press the picture...
    I don't think you can do that. The scrollbar only reacts to the amount of text. If you create your own scrollbar you will find out, since you don't want a scrollbar present if there is no text to show.
    - The right of the People to create Flash movies shall not be infringed. -
    | www.Flashscript.biz | Flashscript Biz Classes/Components |

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Click Here to Expand Forum to Full Width

HTML5 Development Center