-
I can't seems to get the below script to work. I need to open a new window from the text loaded through an external text file into a flash text panel.
This part is in the HTML under the <HEAD> tag:
<SCRIPT LANGUAGE="JavaScript">
function newbrowser(url){
window=window.open("url"," ","height=400,width=500")
}
// --></SCRIPT>
This part is in the text file:
<a href="javascript:newbrowser(www.yahoo.com)">www.ya hoo.com</a>
It just does not load.
:(
-
Hi there,
For starters you don't need javascript to open your new browser window. If you have successfully loaded a txt. file into a swf. file all you need to do is edit the txt. file itself. (bearing in mind you have ticked the HTML box within the "Text Options" panel within Flash)
Place this in the txt. file:
<a href="http://yoursite.com">Click Here</a>
-
I have already tried that before but that couldn't open a new window, it only load the url onto the existing window.
sigh....
:(