PDA

View Full Version : halting flash movie until html has loaded


adamfinger
09-20-2002, 10:06 PM
Is there a way to keep a flash movie from playing until the rest of the webpage has loaded? Perhaps pause the movie at the first frame? Thanks.
-adam

Jesse
09-26-2002, 03:23 AM
I've seen Javascript preloads which load webpage contents. With that in mind, check out the FSCommand Library tutorial which details JavaScript and Flash communication ... so ultimately I guess it's possible but I've not seen anything specific on it...

tg
09-26-2002, 05:09 AM
i believe the javascript event 'onLoad' is triggered when the page is done loading.
so you can have:
<body onLoad=LoadFlash()>

then in your loadFlash function do a document.write(<all you flash tags here>);

positioning it where you want will be another trial tho.