I have two .mxml files(without application tag) each file have one chart each with some events.
I have another sales.mxml files(with application tag) and it refers the previous two files.
when i run sales.mxml file it works fine.
Now i created a component named salesComponent.mxml in which i just call the sales.mxml file.
Then i created an index and linked the salesComponent using LinkBar and ViewStack.
When i run the index page i can see the charts.but chart events are not working and it gives me this error
ArgumentError: Error #2025: The supplied DisplayObject must be a child of the caller.
at mx.managers::SystemManager/getChildIndex()[E:\dev\4.0.0\frameworks\projects\framework\src \mx\managers\SystemManager.as:1665]
at mx.managers.systemClasses::ActiveWindowManager/mouseDownHandler()[E:\dev\4.0.0\frameworks \projects\framework\src\mx\managers\systemClasses\ActiveWindowManager.as:471]
Any help about this issue is highly appreciated
Retrieving data ...