Flasher Archive

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

Subject: Re: FLASH: FS command using VBScript
From: John Dowdell
Date: Tue, 19 Dec 2000 20:23:56 GMT

At 11:07 AM 12/18/0, Jeff Johnson wrote:
> Question, FSCommand, in a browser it invokes the JavaScript
> function moviename_DoFSCommand..., can it invoke a VBScript
> funtion and what is the function name?

I'm not sure of the first part of that post, but for "How can I trigger a
VBScript handler from the Macromedia Flash Player?" then only IE/Win will
offer this, and your regular FSCommand action triggers it.

Background: In IE/Win the page's VBScript can catch messages sent from
ActiveX Controls. In most FSCommand examples the VBScript handler just
routes into the page's JavaScript routines, but if you're just designing
for IE/Win then you can handle the VBScript message right there.

If memory serves VBScript offers two message-catching styles: one where the
sending object's name is specified in the event handler (as in the example
you cited), but there's also another method where the message is caught
directly. I'd defer to Microsoft's documentation on catching messages from
ActiveX Controls in IE/Win's VBScript for best details.


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/

flasher is generously supported by...
flashforward2000 and the Flash(tm) Film Festival
November 27-29, 2000, LONDON, National Film Theatre

Produced by United Digital Artists and lynda.com
-Sponsored by Macromedia, Adobe Systems and Apple Computer
-http://www.flashforward2000.com or UK tel. +44 (0870) 751 1526
Register before November 10 and save 200
http:// www.flashforward2000.com
To unsubscribe or change your list settings go to
http://www.chinwag.com/flasher or email helpatchinwag [dot] com

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