Flasher Archive
[Previous] [Next] - [Index] [Thread Index] - [Previous in Thread] [Next in Thread]
Subject: | Re: FLASH: JavaScript Controls a Flash Movie |
From: | John Dowdell |
Date: | Tue, 14 Mar 2000 20:10:48 GMT |
At 11:23 AM 3/14/0, Dennis Martin wrote:
>I would like to launch a the flash html page with the flash movie embedded
>in it from the straight html (from anyone of the links), and then go to a
>specific frame in the main timeline of the embedded movie dependent on which
>link you clicked.
Hal noted that the documentation describes how Flash can talk to JavaScript
or VBScript through FSCommand, and how scripts can control Flash through
the JavaScript API. This is available in browsers which support it
(Java-enabled Netscape 3+ and ActiveX-enabled IE/Win, but not IE/Mac), and
it does require skill in the various environments you're controlling.
But for this particular "go to a particular place" task, you might want to
consider that the SWF file streams in frame order. If you have a short and
light SWF then your can use JavaScript to control the branching frame.
(Note that the event needs to be fired off *after* the object loads... see
technotes.) But if your SWF is bigger and bulkier, then it might be faster
overall to just make a few SWFs and go directly to the content you wish
instead of putting it all in a single SWF file.
A lot depends on your overall design... if you'll be constantly jumping to
new pages each of which shows different parts of the same SWF, then the
single-file approach might be useful. If you're actually showing different
content on different pages, though, then it might be faster for the
audience to just use multiple SWFs and simple HTML.
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/
flasher is generously supported by...
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
flashforward2000 and The Flash Film Festival
"The World�s Premier Flash Solutions Conference and Expo"
March 27-29, Nob Hill Masonic Center, San Francisco, California
-Register before Feb 25 and save $200!!-- www.flashforward2000.com
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
To unsubscribe or change your list settings go to
http://www.chinwag.com/flasher or email helpchinwag [dot] com
[Previous] [Next] - [Index] [Thread Index] - [Next in Thread] [Previous in Thread]