Flasher Archive

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


Subject: Re: FLASH: prob with clock solved - html link using j.script?
From: John Croteau
Date: Fri, 2 Jul 1999 13:26:40 +0100

Hi Jamie,

Jamie wrote:
>
> >> also - is it possible to create a html link in the 'embed' or 'javascript'
> >> of a flash file - i.e. external to the .swf, in the html??
> >With FSCommand which you are already using and JavaScript this is possible.
> I don't want to use an FSCommand as the link has to be editable in the html,
> how would you suggest doing it using java script?
That would not prevent using FSCommand. FSCommand is only one way to
communicate from Flash to the browser and JavaScript.

But, if it is only a few pages and you want it easily editable in the
HTML page I would use getURL and call a different page for each link
page.

The HTML page would be loaded into an invisible frame and would run a
Javascript command to open the new page.

Set the variable on the first line in the JavaScript something like
this:

<SCRIPT LANGUAGE="JavaScript">
<!--
var URL = "http://www.Flashcentral.com";

Then all that needs to be done is change the correct file version and
its corresponding name inside the quotes above. If only a page changes
you can just have the variable set for the page and hard code or place
another variable further down in the script for the unchanging part of
the URL.

----------- -----------------------
John Croteau croteauaterols [dot] com (mailto:croteauaterols [dot] com)
------------- -------------------------
FlashTek (Advanced Websites with Flash) http://www.FlashTek.com/
Flash Bible (Fast track to good Flash) http://www.FlashBible.com/
Flash Central(The Universe Starts Here) http://www.FlashCentral.com/
The Flash Tech Resource (Tech Notes) http://www.FlashCentral.com/tech/
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

------------------------------------------------------------------------
To UNSUBSCRIBE send: unsubscribe flasher in the body of an
email to list-manageratshocker [dot] com. Problems to: owneratshocker [dot] com
N.B. Email address must be the same as the one you used to subscribe.
For info on digest mode send: info flasher to list-manageratshocker [dot] com


Replies
  Re: FLASH: prob with clock solved - html, Jamie

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