Skip to Content
0
Former Member
Aug 26, 2010 at 01:11 PM

Flash: ArgumentError: Error #2025 When Embedded in Xcelsius

16 Views

Full Error Description:

ArgumentError: Error #2025: The supplied DisplayObject must be a child of the caller.

at flash.display::DisplayObjectContainer/getChildIndex()

at mx.managers::SystemManager/getChildIndex()

at mx.managers::SystemManager/mouseDownHandler()

This error occurs when I take a fully functional flex application, run the debug version through the Xcelsius SDK, use it as an Add-on.

(Does NOT occur with swfLoader), and click anywhere on it. (It happens every subsequent click too).

It uses the default property sheet and is the only add-on installed that does.

Clicking DISMISS ALL allows the program to run exactly as it should, But i cant have error messages flying up in Business User's screens.

Any ideas as to what is causing this issue?

Because there are no problems in Flex, I suspect this is some sort of compatability issue in Xcelsius with some components (specifically, the containers).

This component is a VBox. It contains a TabNavigator of more containers to house various selections using checkboxes and my own custom List, ListBuilder, and Tree classes.

I for some reason can't put the mxml code inside a code tag in this post, nor post it. WIll seek alternative method to show code if necessary.

Edited by: SAPRaptor on Aug 26, 2010 9:11 AM