AS3 version dont support flex build?

I'm comming from APE, and just only make a test like "the bridge test" but... box2dflash not work with flex??? every time show compiler erros in userData definitions like this:

bodyDef = new b2BodyDef();
boxDef = new b2BoxDef();
...........

Here, the Flex compiler error --> bodyDef.userData = new boxImage();

bodyDef.userData.width = boxDef.extents.x * 2;
bodyDef.userData.height = boxDef.extents.y * 2;
addChild(bodyDef.userData);

this code is from Beeryan in this post:

viewtopic.php?f=8&t=402

Is not a wrong code question or configuration...

We need examples, 2 days and not can do a box is not viable ¬¬.
UserData is the movieclip linked to the library. With flex builder you have to do asset embedding and assign the asset to a class.
http://www.bit-101.com/blog/?p=853

Original thread: https://box2d.org/forum/viewtopic.php?t=457