cancel
Showing results for 
Search instead for 
Did you mean: 

Flash: ArgumentError: Error #2025 When Embedded in Xcelsius

Former Member
0 Kudos

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

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Looks like no amount of code debugging can fix being using the wrong container class in the sdk. 😃

Former Member
0 Kudos

I ca confirm that it is Definitely not the TabNavigator.