Flasher Archive

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


Subject: RE: FLASH: Popup window called out of flash - help
From: Davis
Date: Mon, 10 Jul 2000 18:01:25 +0100

Hi,
You will need to do two things. First create a getUrl from flash. In
the address field enter "javascript:launchwin('mypage.html' ,
'newwindow' , 'width=500,height=500,menubar=no')" . This will give
the command to the javascript you will need to embed in your html
page. This code is here:
<!--
Popup Window -->


<SCRIPT LANGUAGE="JavaScript"> var javascript_version =
1.0;</SCRIPT>
<SCRIPT LANGUAGE="JavaScript1.1"> javascript_version =
1.1;</SCRIPT>


<SCRIPT LANGUAGE="JavaScript">

var newwin;

function launchwin(winurl,winname,winfeatures)
{
//This launches a new window and then
//focuses it if window.focus() is supported.
newwin = window.open(winurl,winname,winfeatures);
if(javascript_version > 1.0)
{
//delay a bit here because IE4 encounters
errors
//when trying to focus a recently opened
window
setTimeout('newwin.focus();',250);
}
}
</SCRIPT>

Hope this helps:
Davis at 3D.COM

>Hello friends.
>
>I dont know a lot of HTML and I surely dont know any Javascripting. Came to
>know flash from wanting a program to animate with...and later on learned
>interactivity and stuff. So my legacy knowledge is almost non-existant.
>
>I need to do the following and dont know how.
>
>I have a SWF that acts as a picture library/viewer
>The SWF previews the pics and the when you click on it it do something for
>me. Now up to here i am fine and dandy - the prob follows, what i want it
>to do for me and i dont know how.
>
>how do i:
>When clicked on the pic make an new browser window open with no toolbars,
>not sizable, and just the right size so that it fits around the picture
>being displayed?
>I suppose javascripting needs to be used to pop up and set the conditions
>for the popu browser window. how is this done ? i want nothing other that
>the new browser window to pop up and it must comply to teh above
>conditions.


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
  RE: FLASH: Popup window called out of fl, Catherine Owen

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