# Nesting UIComponents

**URL:** <https://forum.kirupa.com/t/nesting-uicomponents/256718>\
**Category:** Uncategorized\
**Created:** [April 6, 2008, 2:31pm UTC](https://forum.kirupa.com/t/nesting-uicomponents/256718 "2008-04-06T14:31:40Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![dzhedzho](https://avatars.discourse-cdn.com/v4/letter/d/ce7236/32.png) [@dzhedzho](https://forum.kirupa.com/u/dzhedzho)\
**Post date:** [April 6, 2008, 2:31pm UTC](https://forum.kirupa.com/t/nesting-uicomponents/256718/1 "2008-04-06T14:31:40Z")

</div>

I am trying to create a container type component (which extends UIComponent), for flash. Now the problem is that if the added content contains other UIComponents, they will not be drawn. I cannot call drawNow() on them, since they can be unknown, or private. Components such as scrollPane display content with UIComponents correctly, but for some reason I cannot find in its source how it does that…If I nest a scrollPane in UIComponent, UIComponents in the scrollPane content do not display correctly either. Any ideas how I can force them to redraw?
