Flash and ASP

Discussion in 'General Web Coding' started by ckaroly2, Nov 10, 2006.

  1. ckaroly2

    ckaroly2 Guppy

    I have an .swf embeded in an .asp page. In order to eliiminate the "click to activate" in IE, I have, hopelessly tried using the SWFObject. I have seen web pages that use some kind of other java script...unfortunately, I am not really a coder, but a mere designer. Could someone help me with this...i would be sooooooo grateful. Here's the code that's there...

    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
    <meta http-equiv="content-type" content="text/html; charset=UTF-8">
    <meta name="robots" content="index, follow">
    	<title>My College Advisor &reg; - College Admissions in 3 Easy Steps!</title>
    	<link href="/style.css" rel="stylesheet" type="text/css">
    <table cellpadding="0" cellspacing="0" border="0" align="center">
    		    <td valign="top"  width="766">
    				<table  border="0" cellspacing="0" cellpadding="0">
    		<td valign="top" width="766" height="206">
    						<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0" width="766" height="206">
      <param name="movie" value="/swf/header.swf<% Response.Write (Button) %>">
      <param name="quality" value="high">
      <embed src="/swf/header.swf<% Response.Write (Button) %>" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="766" height="206"></embed>
    Thank you in advance for any and all help on this.

  2. manopb

    manopb Perch

    You can find what you need here
    and here.:)
  3. ckaroly2

    ckaroly2 Guppy

    Thank you for your quick response. I have seen the first link (the Microsoft one)so many options... and was just going through the second one...it's all rather confusing to me...I've tried a few to no avail. The problem I think...is making it work with the .asp

    Any concrete ideas?

    Thank you again
  4. KCWebMonkey

    KCWebMonkey Perch

    This from http://www.amarasoftware.com/flash-problem.htm

    To fix the problem, please follow these steps:

    1) Just below the last <object> in your HTML page, insert the following Javascript:

    <script type="text/javascript" src="ieupdate.js"></script>

    2) Add a small .js file to your website directory. You can download the zipped .js file from http://www.amarasoftware.com/ieupdate.zip

    If you are curious what the content of the .js file is click http://www.amarasoftware.com/flash-js-content.htm

    3) Save this file as ieupdate.js to the root of your website (or where you save your html pages)

    4) Upload both files to your webserver, and the problem should be solved.
  5. ckaroly2

    ckaroly2 Guppy

    I think you've saved my life...

    Can't thank you enough!

  6. KCWebMonkey

    KCWebMonkey Perch

  7. ckaroly2

    ckaroly2 Guppy

    It works...like a gem. Compounded by the fact that it was easy to do. I had been banging my head against the wall for two days.

    Of course, I looked at the .js file. Though I don't know what it all means, it looks short and sweet. Right up my alley.

    Sharing knowledge is a wonderful thing.

    Thank you, thank you, thank you.

  8. KCWebMonkey

    KCWebMonkey Perch

    i'm not quite sure what it does either... something about parsing through all the object elements and reassigning it to the document object model i believe... either way, it works :)

Share This Page

JodoHost - 26,000 hosting end-users in 100 countries
Plesk Web Hosting
VPS Hosting
H-Sphere Web Hosting
Other Services