Advanced Layer Popup Support Product Page

Answered

Advanced Layer Popup and Flash

Asked 07 Sep 2011 06:34:20
1
has this question
07 Sep 2011 06:34:20 Joe Villanova posted:
I can set up a Flash button to popup a window using this technique:
www.flepstudio.org/forum/tutorials/649-opening-popup-flash-cs3-javascript.html

I want to do the same, but use the Advanced Popup Layer.

Code from link above:

var js:URLRequest=new URLRequest();
js.url="javascript:window.open('image.html','popper1','width=540,height=360');newWindow.focus(); void(0);";

pop_btn.addEventListener(MouseEvent.CLICK,openPopUp);

function openPopUp(evt:MouseEvent):void
{
navigateToURL(js,'_self');
}

My test URL:

merrittproductions.com/javatest/

Text link triggers the ALP fine, the Flash button doesn't work.
Edited by - Joe Villanova on 07 Sep 2011  06:35:03

Replies

Replied 05 Dec 2011 13:07:51
05 Dec 2011 13:07:51 Miroslav Zografski replied:
Hello Joe,

Play a closer attention to that post you are looking into - check few posts down and find the ExternalInterface.call - that will be more helpful.
Also check this article:
help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/flash/external/ExternalInterface.html

Reply to this topic