Thread: HTML question
View Single Post
Old 02-18-2005, 09:52 AM  
mortenb
Confirmed User
 
mortenb's Avatar
 
Join Date: Jul 2004
Location: Denmark ICQ: 7880009
Posts: 2,203
make the flash file so that it doesn't run automatically..

then put OnLoad="runflash();" in your body tag..

and put this somewhere in your page

Code:
<script languae="Javascript">
<!--

function runflash() {
   document.getElementById("movie_id").Play();
}

// -->
</script>
Where it says "movie_id" you have to change it to be the same object id as your flash movie has in the html document.
mortenb is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote