Can't get External API to work in IE7

I'm trying to get a Flash Ad to call a Javascript function in
an Ajax page. I'm using ActionScript 2.0 ExternalAPI to call a
function in the page that adds an item to a shopping list. I can
get this to work in all browsers except IE7. It even works in IE7
when I put this Ad alone in a basic html page, but as soon as I put
it in an Ajax page it does not call the function in IE7.
I appreciate any help or suggestions

Thanks for the input. I'm not familiar with Ajax so it helps
to know if there are any known issues. I assumed it was an Ajax
issue because the same ad works in a non-ajax web page that uses
frames. The ad is being served through DoubleClick, here is the
rich media code that embeds the Flash Ad:
<!-- This is DART's Rich Media code template. It basically
checks user's flash version and browser, embeds flash creative in
page or serves fall back image if user does not have the required
version of flash player. -->
<SCRIPT LANGUAGE=JavaScript>
<!--
var dcswf = "%h/1146572/HormelFlash.swf";
var dcgif = "%h/1146572/HormelFallBack.jpg";
var advurl = "%c%u";
var dcadvurl = escape(advurl);
var dcminversion = 8;
var dcmaxversion = 9;
var plugin = false;
var dccreativewidth = "300";
var dccreativeheight = "250";
var dcwmode = "transparent";
var dcbgcolor = "FFFFFF";
var dcallowscriptaccess = "always";
if (((navigator.appName == "Netscape") &&
(navigator.userAgent.indexOf("Mozilla") != -1) &&
(parseFloat(navigator.appVersion) >= 4) &&
(navigator.javaEnabled()) && navigator.mimeTypes &&
navigator.mimeTypes["application/x-shockwave-flash"] &&
navigator.mimeTypes["application/x-shockwave-flash"].enabledPlugin))
var plugname=navigator.plugins['Shockwave
Flash'].description;var
plugsub=plugname.substring(plugname.indexOf("."),-1); var
plugsubstr=plugsub.substr(-1)
if( plugsubstr >= dcminversion) { plugin = true;}
else if (navigator.userAgent &&
navigator.userAgent.indexOf("MSIE")>=0 &&
(navigator.userAgent.indexOf("Opera")<0) &&
(navigator.userAgent.indexOf("Windows 95")>=0 ||
navigator.userAgent.indexOf("Windows 98")>=0 ||
navigator.userAgent.indexOf("Windows NT")>=0) &&
document.all)
document.write('<script language=VBScript>' + '\n' +
'dcmaxversion = '+dcmaxversion + '\n' +
'dcminversion = '+dcminversion + '\n' +
'Do' + '\n' +
'On Error Resume Next' + '\n' +
'plugin =
(IsObject(CreateObject(\"ShockwaveFlash.ShockwaveFlash.\" &
dcmaxversion & \"\")))' + '\n' +
'If plugin = true Then Exit Do' + '\n' +
'dcmaxversion = dcmaxversion - 1' + '\n' +
'Loop While dcmaxversion >= dcminversion' + '\n' +
'<\/script>');
if ( plugin ) {
adcode = '<OBJECT
classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"'+
' ID="FLASH_ID" WIDTH="'+ dccreativewidth +'" HEIGHT="'+
dccreativeheight +'">'+
'<PARAM NAME=movie VALUE="' + dcswf + '?clickTag='+
dcadvurl +'"><PARAM NAME=quality VALUE=high><PARAM
NAME=bgcolor VALUE=#'+ dcbgcolor +'><PARAM NAME=wmode
VALUE='+ dcwmode +'><PARAM NAME="AllowScriptAccess"
VALUE="'+dcallowscriptaccess+'">'+
'<EMBED src="' + dcswf + '?clickTag='+ dcadvurl +'"
quality=high wmode='+dcwmode+
' swLiveConnect=TRUE WIDTH="'+ dccreativewidth +'"
HEIGHT="'+ dccreativeheight +'" bgcolor=#'+ dcbgcolor+
' TYPE="application/x-shockwave-flash"
AllowScriptAccess="'+dcallowscriptaccess+'"></EMBED></OBJECT>';
if(('%eenv!'!="j")&&(typeof
dclkFlashWrite!="undefined")){dclkFlashWrite(adcode);}else{document.write(adcode);}
} else {
document.write('<A TARGET="%t" HREF="%c%u"><IMG
SRC="' + dcgif + '" alt="" BORDER=0></A>');
//-->
</SCRIPT><NOSCRIPT><A TARGET="%t"
HREF="%c%u"><IMG SRC="%h/1146572/HormelFallBack.jpg" alt=""
BORDER=0></A></NOSCRIPT>
the ad can be viewed here:
http://ads.beta.groceryshopping.net/Shop/WeeklyAd.aspx

Similar Messages

  • Can't get external monitor to work

    I've used a Mac laptop for the last 8 years, finally decided to get an external monitor for home use.
    I purchased a 25" Hanns-G HZ251. It's not working as I would expect it to work. I've got a standard DVI connection on my older MacBook Pro so I'm connecting via a DVI to DVI cable.
    The only way I can get the monitor to display what is actually on my laptop is to have my laptop open and mirroring turned on. I thought I could have my laptop shut and the monitor would still work when connected, but when I shut my laptop it just goes black.
    If I leave my laptop open but turn mirroring off, I get the generic purple Mac desktop, not my desktop.
    What am I doing wrong?
    There's an install CD that comes with it, but that only runs on a Windows machine. I appreciate any advice, I'm fairly technically handy but this is my first foray into using external monitors, so I'm definitely struggling to figure this out. Thanks.

    conejo61 wrote:
    Yes, it's connected to the power adaptor and I have an external trackball and keyboard.
    You will have to keep them both open and play around with monitor settings until you get them both working. Keep doing "Gather windows" in System Preferences to get the display preferences window for the 2nd monitor and change it each time it doesn't display anything.
    I don't know what it means "you will have to set it".
    You have to set the desktop for the additional screen. Once you get closed clamshell to work, the external monitor will be your primary screen and you won't have to worry about it.

  • 1212m - can't get external sync to work under XP Home...

    I gave up trying to run this card under my XP64 system because it's not compatible with 64-bit apps. That's the subject of another thread...
    I used to run it in an XP Pro system (32 bit) but have now moved it to an XP Home system and I can't get the external sync to work. The sync is coming in on the ADAT line and I select it in the options menu but the mixer always says "Internal" source for the clock. Furthermore, when I set the source to external, close the options dialog, then re-open it, it's back on internal.
    The ADAT lines are correctly linked because I can hear the distorted audio coming across. What's more, when I set external sync in the options, the card seems to be sync'ed because the distortion goes away, even thoug the mixer still says internal sync. But if I shut down and re-boot, or if I change sample rate on the external source, it goes back to the distorted sound.
    Let's see if this one gets any responses...
    rgames

    conejo61 wrote:
    Yes, it's connected to the power adaptor and I have an external trackball and keyboard.
    You will have to keep them both open and play around with monitor settings until you get them both working. Keep doing "Gather windows" in System Preferences to get the display preferences window for the 2nd monitor and change it each time it doesn't display anything.
    I don't know what it means "you will have to set it".
    You have to set the desktop for the additional screen. Once you get closed clamshell to work, the external monitor will be your primary screen and you won't have to worry about it.

  • Flash Ad External API  not working in IE7

    I'm using the Flash AS 2.0 External API to call a Javascript
    function in a page that adds an item to a shopping list when a
    Flash Ad is clicked. This is working in FireFox 2 , Safari, and
    IE6, but does not work in IE7. I tested the Flash Ad locally in
    it's own html page and it calls the function in IE7. An example of
    the ad can be viewed here:
    http://ads.beta.groceryshopping.net/Shop/WeeklyAd.aspx
    The issue may be tied to Ajax.

    the solution can be found here:
    http://kb.adobe.com/selfservice/viewContent.do?externalId=kb400730&sliceId=1

  • Can't get external speakers to work using headphone jack on MacBook Pro

    I have a male-male connector that I use for my iPod to radio or multimedia player to play on external speakers. When I plug it into my MacBook Pro, sound goes dead on the MacBook Pro, no sound comes out of the external speakers, and the preferences on the MacBok Pro say "Headphone : Headphone port" and volume is at full, and mute is off. Am I doing something wrong, or do I need a repair?  I unplug the cable and sound comes back.

    No such problem, eww. The speakers were plugged in and working. I shut off the speakers, but did not unplug them, and when I turned them back on, there was no sound. I tried my headphones, and there was no sound from them, either. The headphone port was dead. I restarted, with no change.
    I was getting ready to do an SMC reset and read the preliminary steps. The last one before resetting the SMC was to shut down the MacBook Pro. That brought the port back to life. When I restarted, I had my external speakers back.
    Go figure.
    I have not upgraded to Lion because I have PowerPC apps that I want and/or need, so this was not a Lion-related bug. I am certainly glad the port isn't dead. I was not looking forward to having to send in my MacBook Pro for repair.

  • Can't get external speakers to work (not wireless)

    I have the same speakers I had with my former Mac, they are not wireless, they plug in and they are turned on and working perfectly.  But my computer keeps using the internal speaker.  How do I get it to "see" the externail speakers?  I checked all the connections, turned the speakers on and off (They are "powered" speakers, JBL).  Thanks

    Thanks so much.  I swear I tried this before, but saw the other person's post and tried one more time -- plugged the speaker jack into the microphone input.  It worked!!! On my old Mac, they were 2 separate inputs.  Mine are working fine now, I feel silly for taking up your time but I really appreciate you replying.  Happy Nwe Year!!  PS I did go to System Preferences but didn't see that choice; I guess I was lucky that my solution happened to be simple, probably because they were the same speakers I got for my old Mac.  Thanks again!!

  • Can't get external editor to work

    Using LTR 3.6 on iMac, external editor PSE 10.  I choose option to open in the external editor after applying any LTR changes.  File is created in LTR, external editor is opened, but image file is not opened.  It used to work fine.  I had a hard disk failure recently, installed new drive, restored everything from Time Machine back up.  All apps seem to work fine. I also reset the external editor in preferences (from PSE 8 to 10) to no effect.  Any ideas?

    Hi,
    I currently have the same problem, but have found a temporary solution while looking for a permanent one. The temporary solution involves resetting the SMC. To do this follow these steps:
    -First connect the cable to both your TV and your MacBook Pro and make sure both are powered on.
    -Then shut down your MacBook Pro
    -On the left side of your keyboard press command, alt (option), shift and the power button at the same time, holding them for a second and then releasing them at the same time.
    -Wait about 10 seconds and then power on your MacBook Pro, the display should be detected and working.
    As I said earlier this is only a temporary solution and I am looking for a permanent one, so any more help would be appreciated.
    Let me know if it works or not.
    cp1996

  • Can't get external speakers to work ...

    I want to use my old Altec Lansing ACS340 speakers with my new iBook, if possible, but when I plug them into the audio out, nothing happens. I know the sound is on (the iBook speakers work, and if I plug in headphones, they work), and I know the speakers are hooked up correctly and on and plugged in. I just don't know what to do to try to make them work with my laptop. Are they incompatible?

    Glad that your speakers are working now, Laura.
    In my experience, sometimes you have to check the setting in System Preferences: Sound and choose the speakers from the Output options, assuming that you have more than one option on the list.
    You may find that the Internal Speakers are selected. If so, and your Altec Lansing speakers are showing up, you need to select that instead of the internal speakers.

  • How can I get external mics to work in bootcamp

    macbook pro 13"
    bootcamp 4
    windows 7

    i downloaded more than 5 they dont work nothing changes and updating from device manager doesnt work please dont give answers form dust

  • Can not get external hard drives to connect to my computer 17" Mac book Pro 10.7.5

    can not get external hard drives to connect to my computer I am using a 17" Mac book Pro 10.7.5.
    I have 2 iomegas and 1 LaCie. Changed cables. I can feel the external hard drives running and
    I can hear them running but I can not get them on the computer any more. They did work at one time.
    Can any one PLEASE help?

    Nothing appear on my desktop. 
    I did Repair and Verify the HDDs in Disk Utility>First Aid from the
    Utilites App about a dozen times ans they all said everything was good
    except for the last time there were erors found and I ran the
    Disk Utility from the Start Up Disk and the repairs were made and everything
    was subposed to te good and still Nothing on the desk top.
    Ginger

  • How can i get fallout 2 to work

    How can I get Fallout 2 to work on my mac book pro.  I just got my computer and the graphics are all messed up.  I tryed installing it on a friends computer and it worked.  He has a mac book pro that is only about 8 months old.  Why wont it work on mine?

    Ask your fellow MBP owners -
    MacBook Pro
    http://www.apple.com/support/macbookpro
    I hope none of you are getting it off torrents, always trouble in that dept.
    Maybe it needs a patch for yours and ATI 6xxxx mobility.
    It helps to know the specs, and model number (17"? etc)
    http://support.apple.com/specs/#macbookpro
    Graphics and video support
    AMD Radeon HD 6490M graphics processor with 256MB of GDDR5 memory on 2.0GHz configuration; or AMD Radeon HD 6750M graphics processor with 1GB of GDDR5 memory on 2.2GHz configuration
    Intel HD Graphics 3000 with 384MB of DDR3 SDRAM shared with main memory5
    Automatic graphics switching
    Dual display and video mirroring: Simultaneously supports full native resolution on the built-in display and up to 2560 by 1600 pixels on an external display, both at millions of colors
    so it could be getting messed up with using the Intel graphics - for all I don't know -  or you have 6490M with just 256MB

  • Imac i5 late 2009 running OS X 10.8.4 and can't get FireWire connection to work

    I have Imac i5 late 2009 running OS X 10.8.4 and can't get FireWire connection to work with LaCie external drive.  I have gone through older posts and tried with no luck power cable and holding down start button for 15 seconds and restoring power and also removing power cable waitng 10 minutes replugging power cable holding down alt command P, R keys until second beep is heard.  I know that LaCie drive and cable are working, they were connnected to another iMac without issues.  What options do I have left to get FireWire to work? The System Report just says
    FireWire Bus:
    Maximum Speed: Up to 800 Mb/sec.
    Thanks for any help
    CS

    I did not mention in original post that when initially connected to the Firewire port the LaCie drive  I can hear activity so the drive is getting power. Does this mean the Firewire port may not be physically damamged and there may be options for resetting? Are there any 3rd party software repair programs worth buying for diagnostics and repair of the FireWire port?

  • I just downloaded AOL Desktop 1.7 for Mac and I can't get my email to work. It welcomes me but I know I have new email but it doesn't recognize that I have ANY mail at all. HELPPPPPPPP Please

    i just downloaded AOL Desktop 1.7 for Mac and I can't get my email to work. It welcomes me but I know I have new email but it doesn't recognize that I have ANY mail at all. HELPPPPPPPP Please

    Hey I've been all over and can't get any help. I'm well aware its not an Apple product but its an app for Mac OS so I thought I'd try here. I bought 2 new iMacs yesterday for my parents (5K) and I'm just trying to get them some help as there in their 70's and AOL is all they know.
    But hey thanks for your help,

  • My iPhone is using my work email to sign in to the cloud, but my apple id and password are with my "personal" email address.  I can't get rid of my "work" email address on my iPhone 4S

    My iPhone is using my work email to sign in to the cloud, but my apple id and password are with my "personal" email address.  I can't get rid of my "work" email address on my iPhone 4S

    Hi Sister Kate,
    If you change the Apple ID you are using on an iPhone or other iOS device, there are several places you need to change it on the device. See this article -
    Apple ID: What to do after you change your Apple ID
    Thanks for using Apple Support Communities.
    Best,
    Brett L 

  • I have an Retina display MacBook Pro with HMDI out port. I also have an HDMI to Component cable with Audio Plugs. How can I get HDMI out to work with this cable when plugged into the Component and Audio ports on my TV?

    I have an Retina display MacBook Pro with HMDI out port. I also have an HDMI to Component cable with Audio Plugs. How can I get HDMI out to work with this cable when plugged into the MacBook Pro and connected to the TVs Component and Audio in ports.

    Will not work.  To my knowledge, dual converting like that isn't supported.  The Mac must detect the connected video output device and that sort of info cannot be done across an analog component uni-directional connection.

Maybe you are looking for

  • Return/Exchange

    I exchanged my Macbook Pro Retina for an iMac yesterday 02/14/2015 and not only did the iMac go on sale (per the website) they did not give me my student discount of $50.00. The young lady at the register said the coupon didn't work, but obviously it

  • Call transaction method in back ground Processing?

    HI Friends, I am working on interface program to post documents of 309 movement type into MIGO transaction . my program is executing succesfully when i am processing  in fore ground. but when i am processing in background it is giving error . can any

  • Comparing a sequence of numbers

    Morning Everyone, I have a little challenge on board and would like to have some ideas about how to proceed with it. As you all are aware of the Lotto game. u have to choose 6 numbers out of 40. There are exactly 3,838,380 combinations that can be pl

  • Merging Two Graphics2D objects into one

    Is it possible to accomplish this: 1) have a method in class A that returns a Graphics2D object 2) have a method in class B that returns a Graphics2D object 3) have class C call both class A's and class B's methods that return Graphics2D objects 4) l

  • About pre loaders

    i have a scene in my flash movie that contains photos and sounds... i want to design a preloader (a progress bar) in another scene or in the same scene(using another frame) that shows the download progress of the scene. I know how to design a progres