?
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,066 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
  • 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

Vote for the Most Valuable Expert

It’s time to recognize experts that go above and beyond with helpful solutions and engagement on site. Choose from the top experts in the Hall of Fame or on the right rail of your favorite topic page. Look for the blue “Nominate” button on their profile to vote.

Question has a verified solution.

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

Today, still in the boom of Apple, PC's and products, nearly 50% of the computer users use Windows as graphical operating systems. If you are among those users who love windows, but are grappling to keep the system's hard drive optimized, then you s…
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…
The goal of the tutorial is to teach the user how to how to record live broadcast.
The goal of the tutorial is to teach the user what frame rate is, how to control it and what effect it has on the video.
Suggested Courses

850 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