Flasher Archive
[Previous] [Next] - [Index] [Thread Index] - [Previous in Thread] [Next in Thread]
Subject: | Re: making flash talk to java...(and vise versa) |
From: | John Dowdell |
Date: | Tue, 14 Jul 1998 01:15:24 +0100 |
At 4:07 PM 7/12/98, Hwill23aol [dot] com wrote:
>I'm basically trying to utilize the mouse event capabilities of java to
>control a flash movie...(ie, mouse position, mouse movements, directional
>movements)
You should be able to do this through straight ol' JavaScript...
periodically poll the mouse position and delta, then send the appropriate
message to the Flash object in the page.
(Note the usual constraints -- interobject communication is supported by
modern browsers on modern machines. Good: Java-enabled Netscape 3+ on
PowerMac or Win32. Good: ActiveX-enabled IE3+ on Win32. No good: Win3.1,
68K Mac, IE/Mac, Java-disabled Netscape, other.)
In LiveConnect-savvy browsers (basically the current Netscapes) a Java
applet can talk to the page and to plugins. In IE/Win32 applets can catch
messages but not send messages unless you recompile as a COM unit or some
such (rare).
But try a JavaScript timeout event that evaluates changes in mouse
position... from what you write, the goal should be achievable in a variety
of browsers, without need of Java.
jd
John Dowdell, Macromedia Tech Support, San Francisco CA US
Private email options: http://www.macromedia.com/support/priority.html
Search technotes: http://www.macromedia.com/support/search/
Entertainment on the web: http://shockrave.macromedia.com/
Luscious web graphics: http://www.macromedia.com/software/fireworks/
------------------------------------------------------------------------
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
[Previous] [Next] - [Index] [Thread Index] - [Next in Thread] [Previous in Thread]