Ok, we've updated the apiloader.js for version 3.5.2 to set the allowScriptAccess parameter
in the embed code to "always". This is due to the latest security update to Flash Player
which now sets the default parameter to "never", which caused the problem.
If you're still seeing this error, you may need to update your app to run version 3.5.2 or
check for any other issues in relation to your app. If you cant or dont want to update, you
can make a fairly simple modification to apiloader.js and host the file yourself, but results
are not guaranteed.
1. Download the apiloader.js file currently used in your application.
2. Open the file in your favorite editor, search for the line "tag.setId(swfId);".
3. Before, add the line: tag.setAllowScriptAccess("always");
4. Host the js file on the same domain as your application.
5. Add these three lines, including your current version to point back to our map swf.
Thats it. Your code should look something like this:
var map = new Map("mapContainer", "YD-
And I can't leave it without saying that we highly encourage you to upgrade your map to
the new AS3 API if you are using Flash. It is a huge improvement over the AS2 maps and
offers you more control over issues like this.
--- In firstname.lastname@example.org, "whispers" <whispers007@...> wrote:
> There was a huge security update for the Flash player recently...
> Maybe that is a good starting point (as stated)
> From: email@example.com [mailto:firstname.lastname@example.org] On Behalf
> Of doug_sherman20
> Sent: Wednesday, April 23, 2008 5:00 PM
> To: email@example.com
> Subject: [yws-maps] Re: JS-Flash Map not working in IE6
> I had the same or similar problem. In my case it was the flash 8.0
> player on the client that caused the problem. After updating to flash
> 9.0 my problem went away.
> > The JS-Flash maps are not working in Internet Explorer 6. I have not
> > changed anything in my code and now, the markers do not appear on
> > page, and I cannot drag the map around. Not only is my map not
> > on my site, it does not appear to be working in Yahoo's examples
> > either. I have updated my code to use the latest release 3.5.2 but
> > that hasn't helped, and Yahoo's examples appear to be using release
> > I've tested it in IE7 and Firefox, and the markers appear in both
> > those browsers. Has anyone found a solution for this?
> > If I had to replace my JS-Flash map with a different version, what
> > would be the easiest to switch to that would involved the lease
> > of modification to my code?
> > Thanks.
> > [Non-text portions of this message have been removed]
> [Non-text portions of this message have been removed]