PDA

Click to See Complete Forum and Search --> : HTML popup in flash, via XML.


prewe
05-29-2006, 01:15 PM
Hi, i have an issue with getting my swf to open a html-popup when linking from an XML.

The XML-code looks like this:
<a href="asfunction:myFn('test.html');">Testlink</a>

and the actionscript looks like this:
function myFn() {
getURL("javascript:NewWindow=window.open('test.html','newW in','width=400,height=300,left=0,top=0,toolbar=No, location=No,scrollbars=No,status=No,resizable=No,f ullscreen=No'); NewWindow.focus(); void(0);");
}

Anyone got any idea of how to make the actionscript get the "test.html" straight from the XML, or get it to work at all :p

I just noticed that the CODE function adds some spaces to the code, it's not me :rolleyes:

All help is appreciated, thanks!
/Jimmy

prewe
05-30-2006, 03:20 PM
nevermind, it's solved now.