Flash 5 to java pop up problems

Seems simple enough, but getting a html doc to html doc to load a page in a java script pop up page is easy

But I have 2 different swfs one in just a normal html with a link that takes you to a smaller page which I want in a java pop up page no borders no address bar etc etc Size is H=325 W=620 seems simple but the only codes I’ve found need to be launched with text in the BODY of the html and that means visable which I dont want I’ve tried

on load: URL etc but maybe I’m just ballsing it up.

And before anyone makes any wise cracks I know this is not a java forum but I searched and tested loads of ways of doing it and it occured to me that someone here is bound to know the simple 2 lines of code that can let me get some sleep!!!

Also I tried the pop up section on this site but its in flash mx and I cant open the source files

So any help will be greatfully recieved
pete

 

this isnt a java forum

and java is not javascript. They are completely different things.


getURL("java**script:window.open('newpage.html','targetName','width=620,height=325');void(0)");

^without the line break

Just for future reference, this type of question should be posted in the Server Side Scripting Forum. This is the link:

http://www.kirupaforum.com/forumdisplay.php?s=&forumid=11

theres nothing serverside about it though. js (at least in this context) is all clientside

The serverside section is called

Server-side/Scripting to cover the clientside stuff too. Since there aren’t too many questions asked on either or seperately, we just combined it together.

And yes, this belongs there, so I am moving it there.