SitePoint Sponsor |
|
User Tag List
Results 1 to 1 of 1
-
Sep 24, 2008, 00:48 #1
- Join Date
- Sep 2007
- Posts
- 41
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
javascript popup window with AS3.0.
hi, i`m trying to open a popup window from flash.
this is what I have in HTML.
Code:function WindowOpen(url, name) { window.open(url, name, "width=900, height=600, resizable=no, scrollbars=no"); }
Code:function clickLINK(e:MouseEvent):void { var jscommand:String = "WindowOpen('http://www.adobe.com','win');"; var request:URLRequest = new URLRequest("javascript:" + jscommand + " void(0);"); navigateToURL(request, "_blank"); }
help me please.
Bookmarks