Hi,
This works, I tested it;

callLater(function (stack:ViewStack, container:Container):void {
stack.selectedChild = container;
}, [viewStack, someBox]);


Mike

On Fri, Oct 10, 2008 at 12:10 PM, Pan Troglodytes <[EMAIL PROTECTED]>wrote:

>   Is there some way to use callLater to set a property that has a setter?
> So far, all I can think of is to create a dummy function that does the
> setting and pass it in the callLater:
>
> private function setSelectedChild(viewStack:ViewStack,
> newChild:Container):void
> {
>   viewStack.selectedChild = newChild;
> }
>
> ...
>
> callLater(setSelectedChild, [someBox]);
>
>
> Any better way to do it?
>
> --
> Jason
>
>  
>



-- 
Teoti Graphix, LLC
http://www.teotigraphix.com

Teoti Graphix Blog
http://www.blog.teotigraphix.com

You can find more by solving the problem then by 'asking the question'.

Reply via email to