?
Solved

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

Posted on 2007-11-16
5
Medium Priority
?
1,065 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 800 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 800 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

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

Question has a verified solution.

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

I had to do a bit of research to find the answer to this question so I thought I'd share my results.  Due to our outdated mainframe systems, we need to downgrade IE9 to IE8 in order to stay compatible.  We also needed to downgrade Java.  In order to…
In threads here at EE, each comment has a unique Identifier (ID). It is easy to get the full path for an ID via the right-click context menu. However, we often want to post a short link within a thread rather than the full link. This article shows a…
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 +…
Want to learn how to record your desktop screen without having to use an outside camera. Click on this video and learn how to use the cool google extension called "Screencastify"! Step 1: Open a new google tab Step 2: Go to the left hand upper corn…
Suggested Courses

649 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