var script:XML = <![CDATA[function(){ var foo = document.getElementById("myDiv"); // нашли нужный DIV foo.style.position = "absolute"; // задали тип позиционирования foo.style.top = "100px"; // подвинули foo.style.left = "100px"; }]]>; ExternalInterface.call(script.toString());