# Flash and javascript. Positioning in javascript document.write("\<... Help! please

**URL:** https://forum.kirupa.com/t/flash-and-javascript-positioning-in-javascript-document-write-help-please/112692
**Category:** Uncategorized
**Created:** [June 10, 2004, 1:36pm UTC](https://forum.kirupa.com/t/flash-and-javascript-positioning-in-javascript-document-write-help-please/112692 "2004-06-10T13:36:54Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![mx\_guest2004](https://avatars.discourse-cdn.com/v4/letter/m/e47c2d/32.png) [@mx\_guest2004](https://forum.kirupa.com/u/mx_guest2004)
#### Post date: [June 10, 2004, 1:36pm UTC](https://forum.kirupa.com/t/flash-and-javascript-positioning-in-javascript-document-write-help-please/112692/1 "2004-06-10T13:36:54Z")

</div>

Hi!  
I don’t know much about javascripts but hope to get some help:  
I have this code:  
[AS]  
{document.write("\<embed name=‘midi’ src="+mide+" loop=‘1’ autostart=‘true’ hidden=‘false’ width=‘300’ height=‘100’\>")}  
[/AS]  
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 🙂
