PDA

View Full Version : Flash Link Problem


Sipheren
04-15-2008, 05:29 AM
Hi,

I have created this page CLICK (http://www.touchupguys.co.nz/owner/locations_flash.php) with a flash animation, but when I click on the buttons in IE7 I get this:

SecurityError: Error #2137: Security sandbox violation: http://tug.claromentis.com.au/intranet/publish/files/TUG_PUBLIC_NZ/flash/NZMap.swf cannot navigate window _self within http://www.touchupguys.co.nz/owner/locations_flash.php (allowScriptAccess is ). Attempted URL was http://www.touchupguys.co.nz/owner/franchise_locations/north.php.
at global/flash.net::navigateToURL()
at NZMap_fla::MainTimeline/onMouseDown_north()



The script for the links is as follows:

north.addEventListener(MouseEvent.MOUSE_DOWN, onMouseDown_north);

function onMouseDown_north(evt:MouseEvent):void
{
navigateToURL(new URLRequest("http://www.touchupguys.co.nz/owner/franchise_locations/north.php"), "_self")
}