Flasher Archive
[Previous] [Next] - [Index] [Thread Index] - [Previous in Thread] [Next in Thread]
| Subject: | RE: FLASH: Flash: popup windows |
| From: | Paul Willoughby |
| Date: | Thu, 17 Aug 2000 13:42:51 +0100 |
Hi Sohrab,
Have you used this tutorial? It doesn't seem to work for me. I copied the
javascript into the <head> tag of my html document. My html page looks like
this:
<HTML>
<HEAD>
<TITLE>flash_map</TITLE>
<SCRIPT LANGUAGE="JavaScript">
<!--// Hide script from non-javascript browsers.
// Load Page Into Parent Window
// Version 1.0
// Last Updated: May 18, 2000
// Code maintained at: http://www.moock.org/webdesign/javascript/
// Copy permission granted any use provided this notice is unaltered.
// Written by Colin Moock.
function loadinparent(url, closeSelf){
self.opener.location = url;
if(closeSelf) self.close();
}
//-->
</SCRIPT>
</HEAD>
<BODY bgcolor="#FFCC33">
<!-- URL's used in the movie-->
<!-- text used in the movie-->
<OBJECT classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
codebase="http://active.macromedia.com/flash2/cabs/swflash.cab#version=4,0,0
,0"
ID=flash_map WIDTH=100% HEIGHT=100%>
<PARAM NAME=movie VALUE="flash_map.swf"> <PARAM NAME=quality VALUE=high>
<PARAM NAME=bgcolor VALUE=#FFCC33> <EMBED src="flash_map.swf" quality=high
bgcolor=#FFCC33 WIDTH=100% HEIGHT=100% TYPE="application/x-shockwave-flash"
PLUGINSPAGE="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_
Version=ShockwaveFlash"></EMBED>
</OBJECT>
</BODY>
</HTML>
In his example he makes the links in html, but mine should respond to button
release in the Flash movie, so I add the following to my movie:
On (Release)
Get URL
("javascript:loadinparent'http://www.moock.org/webdesign/javascript/popupwin
dows/loadurlinparent.html', false); ")
End On
It doesn't work! No error messages, no popping up in the wrong window, just
nothing happens!
What did I miss?
Paul
-----Original Message-----
From: Sohrab Pirayesh [sohrab
Sent: 16 August 2000 19:35
To: flasher
Subject: Re: FLASH: Flash: popup windows
check out
http://www.moock.org/webdesign/javascript/popupwindows/loadurlinparent.html
-sohrab
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
NudeGuru.com is proud to sponsor the Flasher list
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
IT'S THE ART OF MONEY, HONEY!
Tips and Advice from some of the most popular Flash
artists + industry power-brokers on how to hold onto
your rights, negotiate contracts and get full value
for your work.http://www.nudeguru.com from Franke James
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
To unsubscribe or change your list settings go to
http://www.chinwag.com/flasher or email help
Replies
Re: FLASH: Flash: popup windows, Sohrab Pirayesh
[Previous] [Next] - [Index] [Thread Index] - [Next in Thread] [Previous in Thread]

