Solved

Flash not displaying in Firefox when using Embed src="index_image.aspx?image=1234" to write binaries

Posted on 2007-11-16
5
1,062 Views
Last Modified: 2013-12-07
I am attempting to dynamically write binary flash from db (legacy situation...not ideal) into an object's embed tag. This works in IE but not in Firefox. Code is below. Notice the "<embed src='/index_image.aspx?ImagePK=1140'" portion. That referenced aspx page grabs the binary content and writes it to the browser. I was wondering if anyone had any suggestions as to how to make this work in Firefox.

<OBJECT id='lrs' classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codeBase='https://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0'      height='155'      width='152' align='middle' valign='middle'>
        <PARAM NAME='Movie' VALUE='/index_image.aspx?StoreImagePK=1474'>
        <PARAM NAME='Src' VALUE='/index_image.aspx?StoreImagePK=1474'>
        <PARAM NAME='WMode' VALUE='Window'>
        <PARAM NAME='Quality' VALUE='High'>
        <PARAM NAME='AllowScriptAccess' VALUE='sameDomain'>
        <embed src='/index_image.aspx?ImagePK=1140' atomicselection="false" quality='high' name='lrs' height='155' width='152' align='middle' allowScriptAccess='sameDomain' swliveconnect='true' type='application/x-shockwave-flash' pluginspage='https://www.macromedia.com/go/getflashplayer' />
    </OBJECT>
0
Comment
Question by:pricerage
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 2
5 Comments
 
LVL 6

Assisted Solution

by:ventaur
ventaur earned 200 total points
ID: 20300644
Your other movie params use "?StoreImagePK", but the embed source uses "?ImagePK". Is that just a typo here or in your code as well?

Also, make sure that index_image.aspx is setting:
Response.ContentType = "application/x-shockwave-flash";

Open in new window

0
 

Author Comment

by:pricerage
ID: 20367324
This is, in fact, a typo. Thank you though for the attempt, I wish it were that easy. :) Any other suggestions?
0
 
LVL 6

Assisted Solution

by:ventaur
ventaur earned 200 total points
ID: 20367607
Just a couple more questions.

Are you running your site from Windows 2003 or something else? Could you post some of the code from index_image.aspx?
0
 

Accepted Solution

by:
pricerage earned 0 total points
ID: 23621791
The problem was a simple fat-fingered coding issue that was easily corrected when started from scratch. I picked up on a mistake made by the previous developer that was easy to overlook.
0
 
LVL 6

Expert Comment

by:ventaur
ID: 23621972
I'm glad you resolved it.
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

If you are a web developer, you would be aware of the <iframe> tag in HTML. The <iframe> stands for inline frame and is used to embed another document within the current HTML document. The embedded document could be even another website.
Citrix XenApp, Internet Explorer 11 set to Enterprise Mode and using central hosted sites.xml file.
The goal of the tutorial is to teach the user how to set there setting in Adobe Flash Media Live Encoder and YouTube for optimal video and audio quality.
How to create a custom search shortcut to site-search Experts Exchange using Google in the Firefox browser. This eliminates the need to type out site:experts-exchange.com whenever you want to search the site. Launch your Bookmark Menu: Press 'Ctrl +…

733 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question