473,788 Members | 2,811 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

detecting if Flash movie playing or has stopped..

pls how do I detect if .swf movie is playing or has stopped? .swf is in
a pop-up, I would like to trigger a window.close() once Flash movie has
stopped playing..

(pls don't lecture me about pop-ups; this is for a client....;) thank
you.. Frances
Jul 23 '05 #1
2 2559
Frances,

With javascript there is no way to detect if a flash movie has stopped.
However, you can do this in flash. Simply go to the last frame, and
using actionscript make a call to your javascript function that'll
close the newly made window.

Jul 23 '05 #2
web.dev wrote:
Frances,

With javascript there is no way to detect if a flash movie has stopped.
However, you can do this in flash. Simply go to the last frame, and
using actionscript make a call to your javascript function that'll
close the newly made window.


thank you for your response... I don't have flash movie,
unfortunately.. only have .swf that was sent to us by client.. oh well..

Frances
Jul 23 '05 #3

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

Similar topics

2
13073
by: kiran | last post by:
Hi all, I want to dynamically change a flash movie in an html page. Following code is working fine in IE, but netscape 4 and 6 it is not working. Can any one rectify the error: <HTML> <HEAD> <script> function changeFlash(url){
3
3772
by: MN | last post by:
Hello all - I was hoping I could appeal to the gurus out there as I've researched this issue and can't seem to get this Flash movie to load at all. Below is my javascript code that I use to detect the browser and then based on the success of loading the plugin either show the Flash movie (swf file) or show a jpeg. Any help is appreciated as I have adjusted the syntax of having nested script tags within each other without any success. ...
3
7675
by: VMI | last post by:
I asked this question some time ago, and I received a reply, but I never followed up on the suggestion. That's why I'm posting again... I'm trying to add a Macromedia Flash movie to my C# windows project so that I can use it as a screensaver. I was told that the easiest way would be to add a WebBrowser control to my Windows Form and then have it load the Flash movie, but I'm not sure how to do this. I have VS.Net 2005. Also, since I plan...
0
1308
by: Volkan Senguel | last post by:
Hi, im trying to create a Flash Movie with a embedded MPEG Movie inside like this ones at youtube.com. But i have not found any tips on the internet...(!?) My Goal is to define a Flash (.swf) file with the buttons to play, pause and stop the movie. On the Content Management Software (ASP.Net) is a Upload Page fpr the MPEG Movies. Now the code creates the Flash Movie with this Template and saves this on
2
1952
by: vimal.424 | last post by:
Dear All, Please help me......... Please tell me how can we store the flash movie in data base,after storing how can we retreive flash movie from data base. I want have to do, also the preview the flash movie before save in database.............. thanks in advance
1
2678
by: vijaypatidar | last post by:
HI, how can i change size of flash movie while it is playing using the HTML? Thanks
0
1377
by: rich borza | last post by:
I made a flash cs5 move and embedded it in my oscommerce header. It did not work. After much scrutiny I decided to move the files flash created to the web server without any mods. It still doesnt work. My web host says it is nothing on their end. I added another "swf" mime and it still does not work. The host is hostmonster. Anyone have any idea of what the problem? www.getmaxxed.com is my website.. the file for the direct adobe created...
0
9498
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10370
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
10177
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10113
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8995
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
7519
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
5402
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
5538
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4074
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

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.