i need the java scirpt for pop up window to link from flash itself, with the dimenions. thanks
Printable View
i need the java scirpt for pop up window to link from flash itself, with the dimenions. thanks
in your flash movie write a function in the main time line
function newBrowserWindow(theURL){
getUrl("javascript:newBrowserWindow('"+theURL+"'); ");
}
you can now call this function from anywhere in your movie, for example...
_root.newBrowserWindow("yourPage.htm");
in your html page, inside the head tag, write the following code...
function newBrowserWindow(theURL){
var newWindow = window.open(theURL,"","height=400,width=400");
}
You can add fuctionality to the window after the width tag address bar status bar scrollbar etc
hope this helps
J