How do you debug the error?ArgumentError: Error #2025: The supplied DisplayObject must be a child of the caller. There is no addchild or removechild involved in my code.Kindly provide detailed steps on how to debug this error.It occurs in 2 cases. 1).when i try to click on an item in a datagrid in order to move to a different screen (different mxml). 2). When an alert is included. Please help.
Those errors are usually followed by the callstack which provide important
I would not recommend re-parenting a control while interacting with it. You
might delay the move until the interaction completes. Or use callLater()