Flasher Archive

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


Subject: RE: FLASH: Javascript help
From: Eric Dunham
Date: Tue, 14 Mar 2000 02:10:53 GMT

Well, if this is the *exact* syntax of the code you have you are missing one
little piece of text that you need to define the function... a "{"
Functions are defined as:
function function_name(args)
{ //begin function here
//function code goes here
//end function here
}

Well, that and you are missing a doublequote in the 'features' section of
the window.open statement.
You need a doublequote between the comma and the 't' in toolbar (ie.
"...name","tool...")

HTH,
Eric Dunham

<snip>
<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. "

</snip>


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: Javascript help, Neal Cabage

Replies
  FLASH: Javascript help, Cheri Harder

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