I have a panel which contains a form, form items, controlbar and a
button. When I create a new state and remove all the items from the
panel using removeChild, the error is thrown:
ArgumentError: Error #2025: The supplied DisplayObject must be a child
of the caller.
I have narrowed it down to an issue with the controlbar. If I do not use
removeChild on the controlbar, simply keeping the controlbar in the new
state, I do not get an error. In reality, it's fine if I leave the
controlbar in the new state, however, I would like to know if it's
something I am doing wrong or a bug ( looks like an issue similar to
this bug http://bugs.adobe.com/jira/browse/SDK-12188
<http://bugs.adobe.com/jira/browse/SDK-12188>   ).

Thanks.


Reply via email to