I don't think you really need a DIV unless you plan to do something with that DIV too.
Anyway, I would try creating the Flash element as some innerHTML code first. There is an AW.HTML.IMG namespace but the IMG type is seldom used for Flash.
Anthony
Thursday, April 17, 2008
I just came across this page - http://www.untraceable.com.au/
I suggest you check the page source to see how to call Flash from some JavaScript code.