473,395 Members | 1,948 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 software developers and data experts.

Flash object in HTML; shows in FF, not in IE

To embed flash objects in my pages, I read them from a database.
A script file (Filedownload.aspx) reads it from the database, and
streams it to the browser.

Here are two example flash objects in a page. The first 1 (a simple
link to an existing swf-file on the webserver) is showing in each
browser (IE & FF), while the other one (using the filedownload page) is
only being shown in FF.

Does it have something to do with file-extension?
I'm stuck here...

Any help is appreciated !!

<embed pluginspage="http://www.macromedia.com/go/getflashplayer"
src="/Files/cubes.swf" type="application/x-shockwave-flash"
scale="ShowAll" play="true" loop="true" menu="true" wmode="Window"
quality="1"></embed>

<embed pluginspage="http://www.macromedia.com/go/getflashplayer"
src="/Files/filedownload.aspx?fileid=5cb316a4-363b-457e-b60d-e10e457a31ea&output=flash"
type="application/x-shockwave-flash" scale="ShowAll" play="true"
loop="true" menu="true" wmode="Window" quality="1"></embed>

Aug 31 '06 #1
2 3516
You are keeping in mind that IE has been changed in the way objects can be
embedded into a web page due to the eolas patent. Try clicking on it to see
if it's possible that the flash just isn't activated. The other thing is
the object tag. Keep in mind that the embed coding is used by one browser
and the object coding is used by another. an example for your first flash
would be:

<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="179" height="180">
<param name="movie" value="/Files/cubes.swf">
<param name="quality" value="high">
<param name="menu" value="true">
<param name="play" value="true">
<param name="wmode" value="Window">
<param name="scale" value="ShowAll">
<embed pluginspage="http://www.macromedia.com/go/getflashplayer"
src="/Files/cubes.swf" type="application/x-shockwave-flash"
scale="ShowAll" play="true" loop="true" menu="true" wmode="Window"
quality="1"></embed>
</object>
Hope this helps,
Mark Fitzpatrick
Microsoft MVP - FrontPage
<av*******@gmail.comwrote in message
news:11**********************@e3g2000cwe.googlegro ups.com...
To embed flash objects in my pages, I read them from a database.
A script file (Filedownload.aspx) reads it from the database, and
streams it to the browser.

Here are two example flash objects in a page. The first 1 (a simple
link to an existing swf-file on the webserver) is showing in each
browser (IE & FF), while the other one (using the filedownload page) is
only being shown in FF.

Does it have something to do with file-extension?
I'm stuck here...

Any help is appreciated !!

<embed pluginspage="http://www.macromedia.com/go/getflashplayer"
src="/Files/cubes.swf" type="application/x-shockwave-flash"
scale="ShowAll" play="true" loop="true" menu="true" wmode="Window"
quality="1"></embed>

<embed pluginspage="http://www.macromedia.com/go/getflashplayer"
src="/Files/filedownload.aspx?fileid=5cb316a4-363b-457e-b60d-e10e457a31ea&output=flash"
type="application/x-shockwave-flash" scale="ShowAll" play="true"
loop="true" menu="true" wmode="Window" quality="1"></embed>

Aug 31 '06 #2
Hey Mark

As mentioned : a direct link to a swf file on the server show the flash
object in my browser. But when using the FileDownload.aspx to stream
the flash object to the browser it doesn't show.
However, surrounding the embed element with the object element like you
mentioned shows the flash object.

So my next step is. Just use the object element AND the embed element.
My problem was that I'm using FCKEditor to create content, and of
course the way FCK implements handling of Flash objects: it inserts an
embed element in the editor only...

I came up with an idea (not to touch FCK) is whenever I want to display
content on my website, I simply transform the content through a xslt
(it's xhtml) which adds the object element.

And everything is working. Even Firefox shows the flash objects if
embedded in the object element!

Thanks for pointing this out Mark !
Albert
Mark Fitzpatrick wrote:
You are keeping in mind that IE has been changed in the way objects can be
embedded into a web page due to the eolas patent. Try clicking on it to see
if it's possible that the flash just isn't activated. The other thing is
the object tag. Keep in mind that the embed coding is used by one browser
and the object coding is used by another. an example for your first flash
would be:

<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="179" height="180">
<param name="movie" value="/Files/cubes.swf">
<param name="quality" value="high">
<param name="menu" value="true">
<param name="play" value="true">
<param name="wmode" value="Window">
<param name="scale" value="ShowAll">
<embed pluginspage="http://www.macromedia.com/go/getflashplayer"
src="/Files/cubes.swf" type="application/x-shockwave-flash"
scale="ShowAll" play="true" loop="true" menu="true" wmode="Window"
quality="1"></embed>
</object>
Hope this helps,
Mark Fitzpatrick
Microsoft MVP - FrontPage
<av*******@gmail.comwrote in message
news:11**********************@e3g2000cwe.googlegro ups.com...
To embed flash objects in my pages, I read them from a database.
A script file (Filedownload.aspx) reads it from the database, and
streams it to the browser.

Here are two example flash objects in a page. The first 1 (a simple
link to an existing swf-file on the webserver) is showing in each
browser (IE & FF), while the other one (using the filedownload page) is
only being shown in FF.

Does it have something to do with file-extension?
I'm stuck here...

Any help is appreciated !!

<embed pluginspage="http://www.macromedia.com/go/getflashplayer"
src="/Files/cubes.swf" type="application/x-shockwave-flash"
scale="ShowAll" play="true" loop="true" menu="true" wmode="Window"
quality="1"></embed>

<embed pluginspage="http://www.macromedia.com/go/getflashplayer"
src="/Files/filedownload.aspx?fileid=5cb316a4-363b-457e-b60d-e10e457a31ea&output=flash"
type="application/x-shockwave-flash" scale="ShowAll" play="true"
loop="true" menu="true" wmode="Window" quality="1"></embed>
Sep 1 '06 #3

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

Similar topics

9
by: Keith Rowe | last post by:
Hello, I am trying to reference a Shockwave Flash Object on a vb code behind page in an ASP.NET project and I receive the following error: Guid should contain 32 digits with 4 dashes...
0
by: rwakelan | last post by:
I am having a strange problem with the shockwave flash object (look at rwakelan.googlepages.com/flash.html to find out how to get it in a project). The easiest way to recreate the error is to: ...
3
by: David Stone | last post by:
I'm trying to apply a border to a Flash learning object, which is loaded into a page via <object>. I'm trying to use a style to put a black border around the Flash object. ...
0
by: Peter Rilling | last post by:
Hi. I am trying to troubleshoot why a proxy I have created is not streaming a flash object correctly to the broswer. The following is how I am pushing it to the browser: Response.Clear(); ...
2
by: Victor | last post by:
hi guys I am using componentart ajax menu for my website. now I found an issue. if I put a flash object at the same page with my menu. in firefox and netscape, the flash object will always on the...
5
by: suresh_nsnguys | last post by:
Hi, I am facing one problem in embed flash object.i am displaying the flash (.swf file) using embed tag<embed> in IE.i want to display the alert box when user click the mouse over the flash .i am...
0
by: wbosw | last post by:
Shockwave Flash Object Com Component -------------------------------------------------------------------------------- I'm trying to import the Shockwave Flash Object from the Com Component...
3
by: Tahir | last post by:
hi all, i'm building a business website with dynamic banner adds and want to use flash banners. i could insert a swf using <embed ..... /tags but as you think its static and should be dynamically...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
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,...
0
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...
0
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...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

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.