Squirrel Finder in AS 3.0

I’m trying to convert the Squirrel Finder (http://www.kirupa.com/web/xml/examples/squirrelfinder.htm) AS 2.0 example into AS 3.0, and I’m having some issues.

How do I convert this line of code into AS 3.0?

var item_mc = menu_mc.attachMovie("menu_item","item"+item_count, item_count);

Would it be this?

var item_mc:MovieClip = new menu_item();
menu_mc.addChild(item_mc);