Flasher Archive

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


Subject: Re: FLASH: FSCommands not working
From: John Croteau
Date: Sun, 13 Sep 1998 10:23:09 +0100

Hi Viana,

As always check out The Flash Tech Resource
http://www.FlashCentral.com/Tech/Index.htm#Scripting

Also a revised Flash 3 version of Jon Gay's classic FSCommand example:
http://www.FlashCentral.com/Tech/HawaiiMap/

Then my Clock Tutorial
- Script is in AnchorClock.txt in the zip below:
Part 1 - http://www.AHREF.com/guides/design/199807/0720croteau.html
Part 2 - http://www.AHREF.com/guides/design/199808/0802croteau.html
http://www.crownmall.com/FlashTech/part2.zip

In troubleshooting it is important to test in Netscape and MSIE Win
95/98/NT.
Also when you have problems, SIMPLIFY your tests:
Can you receive a message from Flash (FSCommand)?
Can you sent a command to Flash (Flash Method)?
Can you get a Flash Property from Flash?
Is your interconnecting JavaScript working (if any)?
Don't try complicated or two way tests until you know each part works
correctly first.
In your Embed is the NAME="myFlashMovie" and in the OBJECT is the
ID="myFlashMovie"?

Jon and I used different ways to implement the JavaScript.
Both of these methods work fine but there are other variations out there
that may not be as reliable.

Your line:
var myFlashMovieObj = InternetExplorer ? myFlashMovie :
document.myFlashMovie;

should probably be (if you are not in frames):
var myFlashMovieObj = InternetExplorer ? window.myFlashMovie :
window.document.embeds(0);

Or if in frames something like this:
var myFlashMovieObj = InternetExplorer ? parent.framename.myFlashMovie :
parent.framename.document.embeds(0);

Where myFlashMovie is the Name(ID) set in OBJECT and EMBED for the Movie
and framename is the name of the frame as set in the Frameset.

Finally, hopefully you are not using FSCommand for things that can be
done internally in Flash.

----------- -----------------------
John Croteau croteauaterols [dot] com (mailto:croteauaterols [dot] com)
------------- -------------------------
Flash Central(The Universe Starts Here) http://www.FlashCentral.com/
FlashTeK(Advanced Websites with Flash) http://www.CrownMall.com/Flash/
The Flash Tech Resource (Tech Notes) http://www.FlashCentral.com/tech/
Need a PC ? -- Computer King -- http://www.crownmall.com/computers/
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

------------------------------------------------------------------------
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: FSCommands not working, Vinai Kopp
  Re: FLASH: FSCommands not working, Vinai Kopp

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