[flexcoders] Re: Measuring a vbox after I add children to it

2008-10-24 Thread tchredeemed
grrr! same problem! Let me give an example of what I am doing! Keep in mind I am typing this very fast, and it most likely will have spelling mistakes, but it should give you an idea! ?xml version=1.0 encoding=utf-8? mx:VBox xmlns:mx=http://www.adobe.com/2006/mxml;

Re: [flexcoders] Re: Measuring a vbox after I add children to it

2008-10-24 Thread Daniel Freiman
In your code, validateNow() would come right before you call drawStripe(), but... I'd use the structure and invalidation that's already built into Flex UIComponents: ?xml version=1.0 encoding=utf-8? mx:VBox xmlns:mx=http://www.adobe.com/2006/mxml; mx:Script override protected function

[flexcoders] Re: Measuring a vbox after I add children to it

2008-10-24 Thread tchredeemed
one problem.. the children do not get added until I request for them to, via an eventListener that does not get dispatched until much after the creationComplete event... this is probably the problem :(

Re: [flexcoders] Re: Measuring a vbox after I add children to it

2008-10-24 Thread Daniel Freiman
alright, but I still think I'd put the graphics code into the updateDisplayList function. On Fri, Oct 24, 2008 at 12:22 PM, tchredeemed [EMAIL PROTECTED] wrote: one problem.. the children do not get added until I request for them to, via an eventListener that does not get dispatched until