I've imported an FXG from illustrator from Adobe illustrator into flash builder 4.5 and have managed to get it on the stage, the problem I'm facing is accessing the children of the FXG.
Basic FXG that won't work:
<?xml version="1.0" encoding="utf-8" ?>
<Graphic xmlns="http://ns.adobe.com/fxg/2008" xmlns:ATE="http://ns.adobe.com/ate/2009" xmlns:ai="http://ns.adobe.com/ai/2009" xmlns:d="http://ns.adobe.com/fxg/2008/dt" xmlns:flm="http://ns.adobe.com/flame/2008">
<Group id="subChild">
<Group id="subSubChild" />
</Group>
</Graphic>
I then try to access these children like so:
var fooObj:MyFxgObj = new MyFxgObj();
fooObj.getChildByName("subChild");
Which promptly greets me with a null error. I've searched google for the past 2 hours or so but to no avail, so any help would be appreciated.