473,698 Members | 2,615 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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

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

<SCRIPT LANGUAGE="JavaS cript">

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

</script>

AND

<a href="javascrip t: jumpUp('webmovi es/flash.swf')">pr eview</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

Apr 18 '06 #1
1 1471

jo************@ yahoo.com wrote:
I have a pop-up flash movie, it works great. Here is the code :

<SCRIPT LANGUAGE="JavaS cript">

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

</script>

AND

<a href="javascrip t: jumpUp('webmovi es/flash.swf')">pr eview</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


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/kn...fm?id=tn_12701

Apr 18 '06 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
1805
by: Harris Kosmidhs | last post by:
I created a very simple welcome page with xHtml transitional. I tried to get a flash with: <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0" width="500" height="500" > <param name="MOVIE" value="main.swf"/> <param name="PLAY" value="true"/> <param name="LOOP" value="true"/> <param name="QUALITY" value="high"/>
3
2014
by: vinceboy | last post by:
Hi..guys.I am newbie here and have a page which need to load two different flash element with session control.However something went wrong in the code and cause the first if clause is not working.I try to echo out what I want before the if clause but it displayed nothing. Thanks for your generious help.. <?php echo $_SESSION; if (isset($_SESSION)){ ?> <tr> <td colspan="2"> <div align="center">
1
2293
by: dosingh | last post by:
i've put this page together using asp, html, javascript amd flash. java passes a number of variables over to the flash file but the flash graph does not appear. The error which appears is SWFObject in undefined. The script tag contained <script type="text/javascript"> but after taking the "text/" out the, the pages shows not error but also not graph!!!! at the end of my tether. PLEASE HELP!!! code is list below <%@LANGUAGE="VBSCRIPT"...
2
8077
dream party
by: dream party | last post by:
Inserting a Flash (SWF, FLV) file into HTML web page is already an old and familiar thing to all of us. It is a rather non-flexible thing that just to edit some options in the template. However, I did not understand some parameters totally in the HTML tag. These days when I was surfing the Internet I have found some comprehensive introduction to these two tags. I read it and conclude it with my own words; I think it will be useful to us, so I...
0
8685
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9171
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
7743
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6532
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5869
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4373
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4625
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
3053
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
2342
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.