Flasher Archive

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


Subject: Re: FLASH: FSCommands/Javascript
From: Jefferis
Date: Fri, 15 Oct 1999 17:25:28 +0100

DOH! I am an idiot.

On first export of a Flash graphic, I did an output to an html page. But
on subsequent exports, I only published a new .swf.

IF you change/add a Javascript command in your movie on a new version,
but don't publish a new html page... can you run into problems because of
a lack of new javascript code in your headers of your original html?

Onthe script below, I also have aquestion:
I've noticed this lag on IE 4.5 Mac. Will this code protect Mac versions
as well?

jeff

On Fri, 15 Oct 1999 09:09:10 -0400, jchoaticonixgroup [dot] com wrote:

>here's the code you will need to add to your html page
>
><SCRIPT LANGUAGE="JavaScript"> var javascript_version = 1.0;</SCRIPT>
> <SCRIPT LANGUAGE="JavaScript1.1"> javascript_version = 1.1;</SCRIPT>
>
>
> <SCRIPT LANGUAGE="JavaScript">
>
> var newwin;
>
> function launchwin(winurl,winname,winfeatures)
> {
> //This launches a new window and then
> //focuses it if window.focus() is supported.
> newwin = window.open(winurl,winname,winfeatures);
> if(javascript_version > 1.0)
> {
> //delay a bit here because IE4 encounters errors
> //when trying to focus a recently opened window
> setTimeout('newwin.focus();',250);
> }
> }
></SCRIPT>
>
>
>
>in flash under the get url you place this code
>
>javascript:launchwin('URL you want to link too', 'genericwindowname',
>'location=0,status=no,scrollbars=yes,menubar=yes,toolbar=yes,resizable=yes
>,width=800,height=600')


Jefferis Peterson, Pres.
Web Design and Marketing
410 Woodland Ave.
Grove City, PA 16127-1824
http://www.PetersonSales.net
jeffatpetersonsales [dot] net
Tel & Fax. 724-458-7169

ICQ 19112253



flasher is generously supported by...
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Streaming Media WEST '99 Conference & Exhibition
"The Worlds largest Internet Audio & Video Event"
December 7 - 9, San Jose Convention Center, California

Reserve your space today at http://www.streamingmedia.com
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
To unsubscribe or change your list settings go to
http://www.chinwag.com/flasher or email helpatchinwag [dot] com


Replies
  Re: FLASH: FSCommands/Javascript, John Croteau

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