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,054 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 200 total points
Comment Utility
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
Comment Utility
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
Comment Utility
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
Comment Utility
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
Comment Utility
I'm glad you resolved it.
0

Featured Post

Find Ransomware Secrets With All-Source Analysis

Ransomware has become a major concern for organizations; its prevalence has grown due to past successes achieved by threat actors. While each ransomware variant is different, we’ve seen some common tactics and trends used among the authors of the malware.

Join & Write a Comment

Just a quick little trick I learned recently.  Now that I'm using jQuery with abandon in my asp.net applications, I have grown tired of the following syntax:      (CODE) I suppose it just offends my sense of decency to put inline VBScript on a…
Internet is a big network which is formed by connecting multiple small networks.It is a platform for all the users which are connected to it.Internet act as platform in different fields. Such as: Internet  as a collaboration platform. Internet  as…
In this tutorial viewers will learn how to create a basic motion tween animation in Flash Open a new document in Flash: Draw/import an image: Press CTRL + F8 to convert it into a graphic symbol: Select a frame (how long you want the tween to last): …
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.

762 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

Need Help in Real-Time?

Connect with top rated Experts

8 Experts available now in Live!

Get 1:1 Help Now