Problems embedding flash

This is a discussion on "Problems embedding flash" within the JavaScript Forum section. This forum, and the thread "Problems embedding flash are both part of the Program Your Website category.



Go Back   Webforumz.com > Main Forums > Program Your Website > JavaScript Forum

Notices


Reply
 
LinkBack Thread Tools
  #1 (permalink)  
Old Apr 18th, 2006, 20:15
New Member
Join Date: Apr 2006
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Problems embedding flash

With the recent problems with users having to activate a flash file by clicking on it with the latest Explorer Update I have used a method
calling it in using Java script as a work around , however when viewed in Firefox nothing loads. Anyone have an idea why? its fine in Explorer

I have a js file and within it is the following:

Code: Select all
 
function Runlimo1()
{
    document.write('<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/s...ersion=5,0,0,0" width="323" height="115"/>\n');
    document.write('<param name="movie" value="flash/intro.swf" />\n');
 document.write('<param name="quality" value="high" />\n');
 document.write('</object>\n');
 
}
function Runlimo2()
{
    document.write('<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/s...ersion=5,0,0,0" width="134" height="50"/>\n');
    document.write('<param name="movie" value="flash/crush_btn.swf" />\n');
 document.write('<param name="quality" value="high" />\n');
 document.write('<param name="bgcolor" value="#CECECE" />\n');
 document.write('</object>\n');
 
}
Then within my document I have the link in the head tags to the js file
Code: Select all
 
 
<script src="scripts/limo.js" type="text/javascript"></script>
Then this to call the flash in for example
Code: Select all
 
<script type="text/javascript">Runlimo1();</script>
Anyone know why nothing loads in Firefox?

Thanks for your help

Chris
Reply With Quote

Reply

Tags
problems, embedding, flash

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Embedding / Flash slide show not Validating Oak Flash & Multimedia Forum 3 Dec 26th, 2007 00:19
Problems embedding flash ImageReady mdmnky Flash & Multimedia Forum 1 Sep 24th, 2007 12:27
Problems embedding video with Imageready doubledowner Starting Out 0 Aug 28th, 2007 23:03
FLASH Problems in IE JODANI Flash & Multimedia Forum 3 Oct 18th, 2006 04:41
css and flash problems sjcoates Web Page Design 3 Mar 8th, 2006 04:50


All times are GMT. The time now is 06:00.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC8
© 2003-2008 Webforumz.com : All Rights Reserved

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43