Hi Brian,
If the three or four containers that will contain your views are in fixed positions, you might want to consider using ViewStates or ViewStacks, inside the containers, to load the desired panel components. A more dynamic approach, would be to use a container control that repeats; like a Repeater or a TileList. To add and remove the Panel component DisplayObjects to/from the Repeater (TileList), you can use the addChild() and removeChild() methods in AS code. The addChildAt() and removeChildAt() methods will also work, if you are inserting or removing specific Views in specific locations.
-TH
__________________________________
Tim Hoff
Cynergy Systems, Inc.
Office: 866-CYNERGY
--- In [email protected], "Brian Holmes" <[EMAIL PROTECTED]> wrote:
>
> I have a directory of about 15 custom view components (all panels) and I
> would like to display 3 or 4 of them at a time, How can I dynamically
> render only the 3 or 4 that I would like to display?
>
>
>
>
> Thanks,
> Brian
>
>
>
> ***
> The information in this e-mail is confidential and intended solely for the individual or entity to whom it is addressed. If you have received this e-mail in error please notify the sender by return e-mail delete this e-mail and refrain from any disclosure or action based on the information.
> ***
>
--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com
| Software development tool | Software development | Software development services |
| Home design software | Software development company |
Change settings via the Web (Yahoo! ID required)
Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured
Visit Your Group | Yahoo! Groups Terms of Use | Unsubscribe
__,_._,___

