mrcollision
09-10-2003, 07:36 AM
Anyone know how to add a URL in flash that opens up a new window to a specific size.. say.. 800 x 600?
Also I need that window without address bars, buttons and scrollers. Pop-up window basically.
Cheers.
Compguy Pete
09-11-2003, 04:42 PM
It's easy... really.
However you have to know how to use action scripts.
I'll try to find a site that points to how to do this later.
adman
09-12-2003, 02:50 AM
STEP 1
In your Flash use Geturl action and paste this code in the URL value -
javascript:myNewWindow 'http://www.mywebsite.com','popwin','height=400,width=400,toolbar=no,scrollbars=yes')
STEP 2
In the HTML page which has the flash file embedded, Paste this code between the HEAD tags.
<script language="JavaScript">
function myNewWindow(URLtoOpen, windowName, windowFeatures) { newWindow=window.open(URLtoOpen, windowName, windowFeatures); }
</script>