Flasher Archive

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


Subject: Re: FLASH: Flash: popup windows
From: Sohrab Pirayesh
Date: Thu, 17 Aug 2000 14:22:19 +0100

Instead of this,

>("javascript:loadinparent'http://www.moock.org/webdesign/javascript/popupwi
n
>dows/loadurlinparent.html', false); ")

try copying and pasting htis into your geturl statement:

javascript:loadinparent('yourlinkhere.html', false);

i think you accidently deleted a "(" and added some quotes

Tell me if that works!

-sohrab













----- Original Message -----
From: "Paul Willoughby" <paul_willoughbyatbeap [dot] co [dot] uk>
To: <flasheratchinwag [dot] com>
Sent: Thursday, August 17, 2000 8:26 AM
Subject: RE: FLASH: Flash: popup windows


> 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();
> }
>
> file://-->
> </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 [sohrabat2mtc [dot] com (mailto:sohrabat2mtc [dot] com)]
> Sent: 16 August 2000 19:35
> To: flasheratchinwag [dot] com
> 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 helpatchinwag [dot] com
>
>


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
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 helpatchinwag [dot] com


Replies
  RE: FLASH: Flash: popup windows, Paul Willoughby

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