Re: 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

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

From: [on] <switchable@gmail.com>
Date: Tue Apr 18 2006 - 07:31:36 CEST

johnsonholding@yahoo.com wrote:
> 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
>
> preview
>
> 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

The <OBJECT> <EMBED> way of including Flash files has a parameter
called "loop" that can either be False or True.

So you could make a small page that uses that and then open that in the
window.

http://www.macromedia.com/cfusion/knowledgebase/index.cfm?id=tn_12701
Received on Mon May 1 05:05:30 2006