This is a small bump. Has anyone encountered this or does anyone have any thoughts on a cause or fix?
Cheers, Graham Weldon Software Engineer --- In [email protected], "Graham Weldon" <[EMAIL PROTECTED]> wrote: > > Hi all, > > I've encountered this before, but I cannot for the life of me recall > what the cause and fix is: > I have the following states (represented with respect to heirachy: > > - <base state> > - - - home > - - - login (start) > > > The change from "login" to "home" occurs correctly, once verification > of the login details has taken place. This is done with a > 'currentState="home" ' after checking the login details. > > When I click the logout button whose click attribute is > 'currentState="home" ' I get the following error: > > ArgumentError: Error #2025: The supplied DisplayObject must be a child > of the caller. > at flash.display::DisplayObjectContainer/removeChild() > at mx.core::Container/removeChild() > at mx.states::AddChild/remove() > at mx.core::UIComponent/::removeState() > at mx.core::UIComponent/::commitCurrentState() > at mx.core::UIComponent/setCurrentState() > at mx.core::UIComponent/set currentState() > at main/___Button2_click() > > > > Any help appreciated. > > Regards, > Graham Weldon > Software Engineer > -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ <*> Your email settings: Individual Email | Traditional <*> To change settings online go to: http://groups.yahoo.com/group/flexcoders/join (Yahoo! ID required) <*> To change settings via email: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/

