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,063 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

I recently found myself in a Corporate Situation where the client had requested blocking access to any and all websites except his own Domain? Easy? I am sure this would be your answer but their requirement was, this has to be done without using…
SSL stands for “Secure Sockets Layer” and an SSL certificate is a critical component to keeping your website safe, secured, and compliant. Any ecommerce website must have an SSL certificate to ensure the safe handling of sensitive information like…
In this tutorial viewers will learn how to create a basic shape tween animation in Flash including shape hints for smooth animation Open a new document in Flash: Draw a shape: Select another frame (how long you want the tween to be): Right click and…
This Micro Tutorial will demonstrate how nuggets on the Web are formatted by using Chrome Developer Tools. These tools would not only view the site's CSS but it can also modify it and save the CSS to use on your own site.

690 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