Flasher Archive
[Previous] [Next] - [Index] [Thread Index] - [Previous in Thread] [Next in Thread]
| Subject: | FLASH: Controling parent window from Flash buttons in a popup window |
| From: | Motomichi Nakamura |
| Date: | Wed, 7 Apr 1999 23:02:09 +0100 |
Hi,
I am trying to create Flash buttons which can control parent window from
popup window. I have the Javascript to control parent window from child
with text link. I haven't figured out how to combine with Flash/FSCommand.
The following is the code for controlling parent from popup window with
regular text link.
<SCRIPT LANGUAGE="JavaScript">
<!-- frame link
var urls = new Array("","newpageparent.htm");
var remote = null;
var n = 0;
function newwin(url) {
remote = window.opener;
if (remote != null) {
remote.location.href = url;
}
}
//end -->
</SCRIPT>
The follwoing is the link:
<a href="javascript:newwin('newpageparent.htm')">newpageparent</a>
If there is anyone who knows about this or sites which deal with this issue
please let me know, or if you have the same problem maybe we can both try
to solve it.
Thanks millions in advance.
Motomichi
------------------------------------------------------------------------
To UNSUBSCRIBE send: unsubscribe flasher in the body of an
email to list-manager
N.B. Email address must be the same as the one you used to subscribe.
For info on digest mode send: info flasher to list-manager
[Previous] [Next] - [Index] [Thread Index] - [Next in Thread] [Previous in Thread]

