Flasher Archive

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


Subject: RE: FLASH:Targeting opener from flash..
From: Jason_Schubring
Date: Tue, 21 Mar 2000 18:10:27 GMT



>>I want when a button is clicked in the navigator for it to load the
appropriate
>>page in the opener window.


I struggled with this for a bit and finally nailed it.

Here is the deal:

In the head of the HTML doc, I put together this bit of script:

<script language="JavaScript">
function targetWin(url) {
window.opener.location=(url);
}
</script>

In the Get URL pass the URL to the function like this:

On (Release)
Get URL ("javascript:targetWin('http://www.yoursitehere.com');")
End On

This should take care of it. Tested in both IE and NS. Good luck!!

J








|--------+-------------------------------->
| | "Scott Jeppesen" |
| | <sjeppesen@universitya|
| | ccess.com> |
| | |
| | 03/20/2000 02:39 PM |
| | Please respond to |
| | flasher |
| | |
|--------+-------------------------------->
>----------------------------------------------------------------------------|
| |
| To: flasheratchinwag [dot] com |
| cc: (bcc: Jason Schubring/AAL) |
| Subject: RE: FLASH:Targeting opener from flash.. |
>----------------------------------------------------------------------------|




I have a page that when it loads it loads a smal pop up
idow( window.open......) that contains a small flash navigation tool. I want
when a button is clicked in the navigator for it to load the appropriate
page in the opener window. It does that. The only problem I am running into
is that when I use the GetURL to do that the window that my flash movie was
in now only displays the text "http://www.whatever-url-i-tell-it.com" .

Any tips? Thanks.

SJ


flasher is generously supported by...
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
flashforward2000 and The Flash Film Festival
"The World
�s 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
  RE: FLASH:Targeting opener from flash.., Scott Jeppesen

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