swfobject

Calling a PHP page with MySQL query from Javascript function then returning results to another javascript function

I am refactoring some code. I have a PHP page that contains a MySQL query and stores the result in a PHP variable $my_result. This result is then echoed to a Flash SWF during embedding with SWFObject. I now want to call this PHP page that makes the query from a javascript function like so - one change I have made to the PHP is that ins...

How to embed flash files in HTML using SWFObject (and to get deeplinking to work!)

I have a problem that I have been trying to solve since days! I don't seem to get the BrowserManager.url property after I embed using SWFObject! the purpose is, to get the URL of the HTML where the SWF file is embedded and not where the swf file itself is! explanation: I mean the SWF file is only in the root, and the file is embedded i...

Put webcam flash inside divs

I'm trying to embed some flash code, and I'm using swfobject. When I put it in the parent div, it asks the users for permission on the webcam/audio. However, when I put the flash code into a lower-level div, it doesn't prompt for permission to use the webcam, or anyting. How do I fix this? I.E. I can put the flash into contai...

I have a JW Player implementation that won't work 'locally'

Users run my HTML files locally, straight from a CD. I want to allow them to choose a bunch of videos and create a playlist on the fly. This works very well if I run a web server but when I run the HTML itself it fails. The player is created (using swfobject) and all my other code runs but playerReady never fires so I can never get th...

Notify me when the Flash movie is done playing

Guys, I'm new to working with flash and have a quick question about embedding flash with the SWFObject.js file. I can successfully embed an object and play it, but what I'd like to know now is if there is a way that I can be notified when the movie is done being played without editing the flash file itself, since I have no real way to ...

Creating loading messages with swfobject

I am loading a flash file via swfobject. As the file is large, I want to show a "please wait while loading" message while the flash is loading. How can I do it with swfobject. ...

why isn't swfobject loading the flash div?

Hi all, i'v edited this page over ftp from a normal pc (without developer tools), wich i can't install here. Can anybody see me why the swfobject isn't loading? thanks in advance ...

Flash Embed doesn't work

Please save my skin. http://clubentertainment.ie/c/art-perf/embed_example.html The above link should load in Firefox, doesn't load in anything. Doesn't appear to throw any errors. It even validates. It is using swfobject, all of the links appear to work.. it just isn't actually working. I would like to blame the flash object but as it...

how to prevent Google from indexing the div placeholder for swfobject ?

I'm using swfobject, and in the replacement div I have a message for those who don't have Flash or JS support. The replacement div contains a message like "You don't have Flash player, please download here" - my concern here, is that Google will see and index this message, which is not relevant to the content of the page, and it's going...

Passing params from swfupload/uploadify to Rails app - broken?

I have an uploadify component, which sends the files back to rails application. The problem I noticed at some point is, that for some special values data passed along are altered by the flash object. On the client side I have $(document).ready(function() { $('#photo_image').uploadify({ ... 'scriptData': { authentici...

Why is Firefox not caching swf object?

Iäm using swf object to embed a swf on my web page. Same swf is shown on 5-6 links on my web page but every time it takes same time to load the swf, any idea? Here is the code var href = 'http://xyz.com/dialog/demo.swf'; var flashvars = {}; var params = {}; params.wmode = "transparent"; params.allowscriptaccess = "always"; params.swliv...

wget flashcontent offline

Hi, Im downloading a complete site for offline use: wget \ --recursive \ --no-clobber \ --page-requisites \ --html-extension \ --convert-links \ --level=10 \ --restrict-file-names=windows \ --domains mysite.com \ --no-parent \ www.mysite.com Everything works fine. Except local SW...

IE flash background problems (swfobject)

Hello, I've slowly been adapting this site to work on browsers and I just need some help getting it working in ie. I have a full page flash background that apparently does not show in IE - polivision.tv/test.html Using swfobject, the html for the code is <object id="background_vid" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000...

FLV PLAYBACK: changing dynamically flashvars.streamName after initial load

I have simple playback set up: <script type="text/javascript"> var flashvars = {}; flashvars.skinName = "Clear_Skin_1"; flashvars.streamName = "movies/FLV768KB.flv"; var params = {}; var attributes = {}; swfobject.embedSWF( "FLVPlayer_Progressive.swf", ...

Weird issue with SWFObject in IE6, IE7, and IE8

Hey guys, Got a real weird issue with swfobject in all IE browser. It plays the swf file in all browsers but not all IE browsers. I need to know if I'm doing something wrong with the code. Thanks for the help. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"&gt; <html ...

Prevent autoplay when embedding a swf - IE autoplays, all other browsers don't

Hi, I'm trying to stop a swf from auto-starting on page load - for firefox, safari etc, this works fine setting the autoplay parameter to false, but in IE the swf plays on page load. This is my code, any help greatly appreciated! <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="590" height="397"> <param name=...

Slideshow Pro - Flash loads but images do not. Why?

I installed Slideshow pro, with swfobject here: http://globalhealth-dev.oit.duke.edu/whos-involved/alumni The flash loads but the images do not. I have double checked the image paths to death and they appear to be correct. Here is the html: <object id="alumni" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="520" height="2...

n is null in SWFObject v1.5:

Hi all, I am using swfobject.js V1.5 in Mozilla its working fine but when i run the application in IE it shows N is NULL in swfobject.js Because of this the total page is not loaded.... **In this line N.innerhtml** Any Ideas or suggestions to solve this problem... ...

Javascript / SWFobject | Determine if a swf object exists when creating dynamic embed objects.

When I create SWF objects that are temporarly hidden in tabs, thus not fully loaded in some browsers, like FireFox, I can't seem to find way to figure out if the SWF is loaded or not, so I can communicate with it. /* Generate SWF (onDocumentReady())*/ swfobject.embedSWF("graph.swf","line-graph-one","100%","250","8","expressInstall.swf"...

Why does SWFObject work in chrome yet not IE/FF? (example included)

Am I using the code improperly or is there a flaw in SWFObject? If you go to the URL below you can see that it the flash file (an MP3 player) shows up perfectly fine in Chrome. However, in both Firefox and IE8 it loads a blank white box. If you mouse over the box the pointer changes to a hand as if its registering the buttons, just not a...