0

I have a flash file with some buttons, which open some http links using navigateToURL.

For example:

btn1.addEventListener(MouseEvent.CLICK, openPage)

function openPage(e:Event)
{
   navigateToURL(new URLRequest("http://www.google.com"), "_blank")
}

It works fine on server, but when I try to run it offline/local, it does not open any link or shows any security info box.

My client needs to copy the whole website on a DVD and the buttons must open the live links(http).

Please help.

Amrit
  • 2,295
  • 4
  • 25
  • 42

1 Answers1

0

Try changing the local playback security in Publish Settings:

By default, usually "Access local files only" is selected. This will prevent network locations from being accessed. Selecting 'Access network only' should fix the problem. If you need both, further instructions can be found in the docs

enter image description here

scottysmalls
  • 1,231
  • 17
  • 23