Pop up flash movie - how do I get it NOT to loop?
Available news archives: comp.lang.tcl - comp.lang.python - comp.security.firewalls - sci.crypt - comp.lang.php - comp.lang.javascript
Google
 
Web news.hping.org


comp.lang.javascript archive

Pop up flash movie - how do I get it NOT to loop?

From: <johnsonholding@yahoo.com>
Date: Tue Apr 18 2006 - 03:52:52 CEST

I have a pop-up flash movie, it works great. Here is the code :

<SCRIPT LANGUAGE="JavaScript">

function jumpUp(URL) {
  window.open(URL,
              "w"+(new Date()).getTime(),
              "width=194,height=146,top=440,top=288");
}

</script>

AND

<a href="javascript: jumpUp('webmovies/flash.swf')">preview</a>

What I am finding out is that is opens a new window, which is great,
but it loops - now I converted the video in Flash MX, but it doesn't
allow me to change the loop properties of the flash video, only the
HTML properties. Is there a quick fix for this using this javascript?
Thanks
Received on Mon May 1 05:05:05 2006