473,391 Members | 1,484 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,391 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 3515
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: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
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
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
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,...
0
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...
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...

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.