Flasher Archive

[Previous] [Next] - [Index] [Thread Index] - [Previous in Thread] [Next in Thread]


Subject: Re: FLASH: Popup window called out of flash - help
From: gym
Date: Fri, 7 Jul 2000 22:40:20 +0100

Step 1. Insert this JavaScript between the <head> and </head> tag of your
HTML page.
<script language="javascript">
function popWin( url, name, width, height, scroller ) {
var outStr = 'height=' + height + ',width=' + width;
if (scroller != 'true') {
outStr = outStr +
',menubar=no,toolbar=no,location=no,directories=no,status=no,scrollbars=yes,resizable=no';
}
else {
outStr = outStr +
',menubar=no,toolbar=no,location=no,directories=no,status=no,scrollbars=no,resizable=no';
}
window.open(url, name, outStr);
}
</script>
Step 2. Now, go to the button, in your Flash movie, which you wan't to
give the action to open a browser window. Click "Properties" for it.
Step 3. Assign a "Get URL" command for this button, containging the
following:
javascript:popWin('link.html','Title',322+16,450+16,false)
Step 4. You can make the appropriate changes in the javascript to control
how the popup looks, it should be fairly self-explanatory..
Close a browser popup window
Step 1. Insert this JavaScript in the head of your main page, DO NOT
MODIFY IT:
<script language="JavaScript">
function closeBrWindow() {
window.close();
}
</script>
Step 2. Now, go to the button, in your Flash movie, which you wan't to
give the action to open a browser window. Click "Properties" for it.
Step 3. Assign a "Get URL" command for this button, containging the
following:
javascript:closeBrWindow()


hope that canhelp u.



flasher is generously supported by...
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
flashforward2000 and the Flash(tm) Film Festival
July 24-26, 2000, NEW YORK CITY, Hammerstein Ballroom
www.flashforward2000.com
Produced by United Digital Artists and lynda.com
Sponsored by Macromedia, Adobe Systems, Fusion, Inc, AtomFilms,
shockwave.com and Electric Rain.
1.877.4.FLASH.4 or (1.805.640.6679 outside the US and Canada)
Register before June 30 and save $200!!-- www.flashforward2000.com
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
To unsubscribe or change your list settings go to
http://www.chinwag.com/flasher or email helpatchinwag [dot] com


Replies
  FLASH: Popup window called out of flash , mbain

[Previous] [Next] - [Index] [Thread Index] - [Next in Thread] [Previous in Thread]