I have this mxml fragment: <mx:Canvas label="Consist1" width="100%" height="100%" id="consist1"> <accidents:consistTabSet id="consist1TabSet" creationPolicy="all"/> </mx:Canvas> .....
Later on I am trying to do this: var PersonnelGrid:Object = accidentsModule["consist" + consistnumber.toString() + "TabSet.ConsistPersonnel" + consistnumber.toString()]; and I am getting: Property consist1TabSet.ConsistPersonnel1 not found on accidents.accidents and there is no default value. But in debug window: accidentsModule.consist1TabSet.ConsistPersonnel1 is shown correctly. What's wrong in my code? Thanks

