Flasher Archive

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


Subject: Re: FLASH: Javascript help
From: Neal Cabage
Date: Tue, 14 Mar 2000 03:53:28 GMT

Are you planning to evoke this JavaScript with an FScommand? I missed the
first email. If so, be warned that MSIE 4.5 doesn't do FS commands.
Further, you'll need to write a client-side VBscript routine to trigger the
JS routine that captures the FScommand event. Much easier to just keep it
within Flash as much as possible.


Neal

----- Original Message -----
From: Eric Dunham <brokenatcorridor [dot] net>
To: <flasheratchinwag [dot] com>
Sent: Tuesday, March 14, 2000 12:16 AM
Subject: RE: FLASH: Javascript help


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)
{ file://begin function here
file://function code goes here
file://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




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
  FLASH: Flash problems with IE4.5 on Mac, Helen Triolo
  Re: FLASH: Javascript help, Cheri Harder

Replies
  RE: FLASH: Javascript help, Eric Dunham

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