Positioning document.write(... Help! please

Hi!
I don’t know much about javascripts but hope to get some help:
I have this code:
ActionScript:


{document.write("<embed name='midi' src="+mide+" loop='1' autostart='true' hidden='false' width='300' height='100'>")}
 

I want to define a position for this object on the screen. How and where can I put a position? I have tried with document.left=400 or document.style.left=400, NO luck.

This is actually a part of a flash project.
Thanks for your help.
mx-guest2004 :slight_smile: