Flasher Archive

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


Subject: Re: FLASH: Doable? Address JavaScript directly through FSCommand?
From: John Dowdell
Date: Tue, 13 Jul 1999 01:08:05 +0100

At 9:56 AM 7/12/99, Warren 'The Howdy Man' Ockrassa wrote:
> Howineck do I address JavaScropt *directly* via FSCommand -- is
> this even doable?

There would have to be at least one level of indirection, because ActiveX
Scripting usually uses that object/method naming convention... when ActiveX
Controls are caught by VBScript then the name of the method is usually
predefined. Because you *have* to have a VBScript block to catch messages,
the JavaScript definitions are usually stored as discrete functions in the
page anyhow.

It's easy enough to pass out the name of the desired JavaScript message as
a string, and then have a routing handler in the page's scripts which call
the appropriate page handler.

Top notes:

-- IE/Mac doesn't support this page/object intercommunication

-- Netscape and IE/Win have slightly different methods of catching events
from objects

-- When working such a project, take the communication a step at a time,
and test in multiple browsers... try testing with "alert" dialogs before
trying to move child windows about, for instance.

jd





John Dowdell, Macromedia Tech Support, San Francisco CA US
Search technotes: http://www.macromedia.com/support/search/
Offlist email risks capture by the spam filters. I may not see your
email if it's not on the list. Private one-on-one email options are
available via Priority Access: http://www.macromedia.com/support/



------------------------------------------------------------------------
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


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