Flasher Archive

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


Subject: Re: FLASH: Javascript help
From: Ben Park
Date: Mon, 20 Mar 2000 19:26:05 GMT

Hi
I had a go at this myself, and couldn't get it to work.
I thought that you had to do it in Flash like this -

On (Release)
Get URL ("javascript:newWindow
(http://members.home.com/advantagewebsolutions/singles/thisisit.htm")
End On

- so as to tell it where to go (and no I've done almost no javascript at
all before...just minor modification of other people's scripts)
and then put the html bit in, like your example below....I even tried
changing the "windowname" part to something different - (temp1 I think I
called it) and it still doesn't work..

Although it opens the html page, it just opens like it does normally...it is
not a popup window with the address bar and refresh, forward/back..etc
buttons removed, like I wanted...

Anyone actually get this working?

Ben


-----Original Message-----
From: Cheri Harder <chericaathome [dot] com>
To: flasheratchinwag [dot] com <flasheratchinwag [dot] com>
Date: 14 March 2000 20:59
Subject: FLASH: Javascript help


>OK, it is time I learn Javascript. I used the bloodykisses tutorial to
open
>a new window. I put the
>
><script language="JavaScript">
><!-- function newWindow()
>
>window.open("http://members.home.com/advantagewebsolutions/singles/thisisit
.
>htm","windowname",toolbar=0,scrollbars=0,resizable=0,height=350,width=600")
;
> } // -->
>
></script>
>
>after </title> and before </head> in my HTML page with my main Flash movie.
>Within Flash, I put
>
>javascript:newWindow()
>
>in the URL window of the GetURL action and left the "window" box blank for
a
>resultant code of:
>
>On (Release)
> Get URL ("javascript:newWindow()")
>End On
>
>Can't check it in IE because I'm using the 5.5 beta & javascript isn't
>working with that. Netscape gives me javascript error
>
>"JavaScript Error: [unknown origin]:
>newWindow is not defined. "
>
>Now, I know that newWindow is the name of the function I just created in
the
>html document. What I don't understand is what is telling the Flash movie
>to look at the originating html page to find the function? Or, I guess,
>what is _supposed_ to be telling it to look there? Since it is not finding
>that function, I am assuming I've missed a major concept here.
>
>~~~~Cheri Harder~~~~~
>charderatawsolution [dot] com
>Advantage Web Solution
>www.awsolution.com


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


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