Flasher Archive

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


Subject: Re: FLASH: Opening a pre-defined browser window from flash?
From: Robbert - Jan
Date: Fri, 31 Mar 2000 18:30:52 +0100

This message contains the same information as my reply to "FLASH: Open a new window and load a movie?" from last monday :)
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
add this to the "Get URL" action you've just attached to your button, did you, yes you did :)

"javascript:window.open'yourURL','name','width=500,height=250,left=75,top=100',location.href='#')"

javascript:window.open is the javascript that opens a new window
yourURL is what it says, the url of the file you want to open in an new window
name is the object name of your popup window
width and height speaks for itself
left and top parameters are the place where your popup window pops up on the screen, in pixels from the upper left corner of the screen
location.href is important, this makes sure the page where your flash movie resides doesn't jump to the page of yourURL

finally your action will look like this

On (Release)
Get URL ("javascript:window.open('http://www.yourdomain.com/directory/file.htm','popupname','width=500,height=250,left=75,top=100',location.href='#')")
End On


=======================
Robbert - Jan van Velzen
Multimedia Developer
Alphenaar Multimedia Studio

http://www.alphenaar.nl
=======================



----- Original Message -----
Subject: FLASH: Opening a pre-defined browser window from flash?


> Hi,
>
> Just a quick question.:
> How do you open a browser window and set the size of it from Flash. I can
> open a blank window but how do I call the java script to set the size etc?
>
> TIA
>
> Shaun Brazier
>


flasher is generously supported by...
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
flashforward2000 and The Flash Film Festival
"The Worlds Premier Flash Solutions Conference and Expo"
March 27-29, Nob Hill Masonic Center, San Francisco, California

-Register before Feb 25 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: Opening a pre-defined browser win, Shaun Brazier

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