Flasher Archive

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


Subject: Re: FLASH: FS Command BUG in Netscape?
From: John Croteau
Date: Fri, 9 Jul 1999 16:31:45 +0100

Hi Waldo,

FSCommand is very particular and you should carefully model your sripts
after ones that are known to work flawlessly. If you looked at Jon
Gay's, My Anchor Clock or My FlashTek clock you will see that your's is
not the same as any of them.

CHANGE
var careObj = InternetExplorer ? care : document.care;

TO
var careObj = InternetExplorer ? parent.care :
parent.document.embeds[0];

If the Flash movie is the only embeded object on the page or it is the
first embeded object it will be embeds[0], otherwise it you need to
determine which embeded object it is and adjust the number.

FlashTek uses the same but in longhand JavaScript code instead of the
shorthand JS above.

The Anchor clock uses a different technique to provide the paths:

function jc(){
if (navigator.appName.indexOf ("Microsoft") !=-1)
{ return window['clock'] }
else { return document['clock'] }
}

All 3 of these methods work flawlessly, the method you are using is
known to be less reliable. For some reason some browsers have trouble
parsing that syntax even though it is should work.

There could be other problems but we would need a URL to check properly.

----------- -----------------------
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
  FLASH: FS Command BUG in Netscape?, Waldo Smeets

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