xml flash menu + javascript popup?
- Started
- Last post
- 7 Responses
- kyl3
I'm trying to add a Javascript popup function to a xml flash menu. I've added the scripts to the xml doc and the html but no popup. Is there a way to do this without adding any actionscript tothe flash file?
thanks!
- kyl30
here is the function on the original:
onRelease = function () {
getURL(aLink, "_blank", "GET");
}here is what I'm hoping to do:
onRelease = function () {
getURL("javascript:openNewWindow... "_top", "GET");
}
- tkmeister0
maybe this would help.
- kyl30
thanks tk, but eerally it's about this variable 'alink' which is parsed into flash from a xml doc and adding a javascript to popup a controllled popup.
- tkmeister0
maybe you should trace 'alink' and see if flash is reading it correctly. that's a start.
- kyl30
got it sorted but thanks.
here it is in all it's glory:
onRelease = function () {
getURL ("javascript:NewWindow=window.op... + aLink +"','newWin','width=400,height=3... NewWindow.focus();");}
- anayafx0
be+au+ti+full !
does it center the pop up though?
kirupas solution does not work when you export flash 8! dough!
- tomkat0
why a JS popup if you can just have a "in-browser" popup inside the flash?