Flasher Archive
[Previous] [Next] - [Index] [Thread Index] - [Previous in Thread] [Next in Thread]
Subject: | Re: FLASH: Whats THE MACS PROBLEM??? |
From: | John Croteau |
Date: | Wed, 20 Jan 1999 08:01:13 GMT |
Hi Steve,
I think you are lucky that Byron posted the error to the list.
The errors that visitors get in going to Berny have not been limited to
Mac guys. I have received them using Windows. Maybe Macs are more
susceptible to the problem or they are just more vocal :-). Though I
also mentioned it before (quite some time ago).
Byron Canfield wrote:
> JavaScript Error: http://www.track.cle.net/Berny/labyrinthe.htm, line 44:
> Navigu has no property named 'GotoFrame'.
> Does that help narrow it down any?
Yes, it does. I think it points right at the problem:
var Navigu = InternetExplorer ? MyMovie : document.MyMovie;
Navigu.GotoFrame(1);
var Anim = InternetExplorer ? MyAnimation : document.MyAnimation;
Anim.GotoFrame(20);
Anim.Play();
The problem (I believe) is that you are calling something that may not
exist yet. It usually will be there when called but not always.
In your init() function you are making calls to both of your Flash
movies. From the error I assume init() is called from MyAnimation
(anim.swf). Even though you are calling frame one in MyMovie (lab.swf)
there is no guarantee that even though it appears first on the page that
it will load first. Just like gifs and jpegs, swf files are not
necessarilly loaded sequentially on a web page.
The solution is to create a pre-init function that will load init() only
after confirming that lab.swf has loaded to frame 1. Also note that
since you are calling frame 20 in anim.swf then you should not call
init() from that movie until frame 20 is loaded.
A second solution would be to call init() from an onLoad but this is
less desirable because both swf files would have to be fully loaded
before init() would be called.
----------- -----------------------
John Croteau croteauerols [dot] com (mailto:croteauerols [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-managershocker [dot] com. Problems to: ownershocker [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-managershocker [dot] com
Replies
Re: FLASH: Whats THE MACS PROBLEM???, Byron Canfield
[Previous] [Next] - [Index] [Thread Index] - [Next in Thread] [Previous in Thread]