| Home | Tutorials | Forums | Articles | Blogs | Movies | Library | Employment | Press | Buy templates |
|
|
#1 |
|
Registered User
Join Date: May 2004
Posts: 6
|
Hello there,
In Flash MX I am using a dynamic menu which generates, as a variable, the name of a html page to be opened as a pop-up window. In practice, when opening the hypothetic page "mypage.html", the variable "pagename" generates the value "mypage", which added to ".html" is joint in a string as "mypage.html", and this opens the pop-up window. Actually, the following line... getURL(pagename + ".html"); works correctly, but it opens the pop-up simply as a "_top" page on the main page. When I try to use the JS below, which is OK if the html page name is typed in the formula instead of being dynamically created... getURL("javascript:window.top.open('nome'+'.html', '','width="+pagewidht+",height="+pageheight+ [[[othersettings]]]",scrollbars=0');void(0);"); all I get is a Flash warning saying ". . . ')' o ',' is required. I tried many forms of syntax, with no positive result. Has anyone a hint? Thanks a lot! Number-Nine |
|
|
|
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|