Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

AS3 popover code only working in Chrome

Explorer ,
Sep 10, 2013 Sep 10, 2013

I'm using this AS3 code to open popover window:

//facebook button//

fbBtn.addEventListener(MouseEvent.CLICK, fb);  function fb(Event:MouseEvent):void{

ExternalInterface.call("window.open", "https://www.facebook.com/pages/Voiceguy1-Communications-Voiceovers-by-Chris-Mezzolesta/1057931994430...", "win", "height=559,width=1000,toolbar=no,scrollbars=yes", "_blank");  } 

It works great in Chrome.  In Safari it takes a long time (30-60 seconds) to work.  In Firefox it gives me this error message:

Warning: Unresponsive script A  script on this page may be busy, or it may have stopped responding. You can stop the script now, or you can continue to see if the script will complete.  Script: http://chrisvoiceover.com/:16

but still opens the popover, only it opens behind the browser. 

Help?

TOPICS
ActionScript
865
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Sep 10, 2013 Sep 10, 2013

there's nothing in that code that would cause a problem like that in firefox.

to confirm, create a new fla add that button and that code and test.  any problem?

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Sep 10, 2013 Sep 10, 2013

I tried that and am still having this issue. It is also happening on these,

separate sites:

http://arthur-chu.com/ (click any of the social media links on the ³eraser²)

http://robinrayeller.com/ (click any of the social media links at the

bottom)

http://www.perrynorton.com/ (click any of the social media links at the

bottom)

I could list lots of others with the same code causing the same issue but

only in Firefox.

I just discovered thought that in an AS2 site that I built,

http://adambehr.com that the popover code that I used works fine in Firefox,

Safari and Chrome. That code is:

on (release) {

var jscommand:String =

"window.open('http://www.youtube.com/user/tundramonkey100/videos?view=1','wi

n','height=559,width=1000,toolbar=no,scrollbars=yes');";

getURL("javascript:" + jscommand + " void(0);");

}

Jason

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Sep 10, 2013 Sep 10, 2013
LATEST

try uninstalling your flash player, http://helpx.adobe.com/flash-player/kb/uninstall-flash-player-windows.html

and then installing the latest flash player, http://get.adobe.com/flashplayer/

p.s. untick mcafee

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines