Advertisement

11.30.2008 at 10:41PM PST, ID: 23945966 | Points: 250
[x]
Attachment Details

Inserting a delay before autostart of movie

Tags:

HTML, Flash, Javascript, Actionscript, Firefox, Internet Explorer

Hi.

I have a brief introductory video for a home page I'm designing in Dreamweaver.

It's an FLV (about 2 MB), which I inserted using the standard "Insert Media > Flash," and I placed it within it's own layer.

I have the video set to "auto-start," because that's exactly what I want it to do.  However, I'd like to be able to insert a delay of, say, 10 seconds before it executes.  Right now, I have some standard flash animation going on (basically an animated logo at the top of the page) ... and I would like to allow that some to execute before the movie jumps in.

I've tried a lot of different methods, and none seem to work.  Are there any development tools that allow easy control over multiple media elements ... allowing me to control when the different videos and animations can execute?

Here is the code I'm currently using for the FLA video (created in Dreamweaver)::

<div id="Layer4">
 
    <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0" width="613" height="483" id="FLVPlayer">

      <param name="allowScriptAccess" value="sameDomain">
      <param name="movie" value="FLVPlayer_Progressive.swf" />
      <param name="salign" value="lt" />
      <param name="quality" value="best" />
      <param name="scale" value="noscale" />
      <param name="FlashVars" value="&MM_ComponentVersion=1&skinName=Halo_Skin_3&streamName=BHS_latestIntro_FLV.flv&autoPlay=false&autoRewind=false" />

      <embed src="FLVPlayer_Progressive.swf" flashvars="&MM_ComponentVersion=1&skinName=Halo_Skin_3&streamName=BHS_latestIntro_FLV.flv&autoPlay=false&autoRewind=false" quality="high" scale="noscale" width="613" height="483" name="FLVPlayer" salign="LT" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />    
</object>
  </div>
 
Attachments:
 
HTML Coding for my Homepage
 
Top Expert: Tomarse111
Expert Since: 05/12/2004
Accepted Solutions: 91
Computer Expertise: Advanced
Tomarse111 has been an Expert for 4 years 8 months, during which he has posted 275 comments and answered 91 questions. Tomarse111 is just one of 370 experts in the ActionScript Zone.
 
 
20081119-EE-VQP-48 - Hierarchy / EE_QW_2_20070628