On 7/4/00 5:27 am, Jacqueline Landman Gay <[EMAIL PROTECTED]> wrote:
>> How do you do that, specifically?
>
> I phrased my comment badly; you can't actually just pass on the raw
> keystrokes. You have to script the movie commands. So, for example,
> you'd check the keydown parameter and do something like this:
Not very good: I think you could do that in MC right now too.
>>> This arrangement allows typing in fields and
>>> all other user actions while any number of movies play. The location of
>>> the cursor is unimportant.
>>
>> A better idea, though it still doesn't solve the problem of allowing
>> the *user* to control which movie gets the focus and when.
>
> You can use a "mouseUpInMovie" handler to find out the user's target
> movie, then store the reference in a variable, and direct all subsequent
> "sends" to that particular movie. In HyperCard, if you want a visual
> distinction to show which movie is "active", you can set the window
> style to "rect" or some other style that differentiates it from the
> borderless one on the card. If both movies are in standard windows to
> begin with, the Mac OS handles the window appearance so that the user
> knows which is active.
If you add the traversalOn property to players, it would make it easy for
the developer to define a way to allow the user to focus the movie. They
could focus it by script and draw a border around it when its focused if
they wanted to, or do neither if they didn't.
Regards,
Kevin
Kevin Miller <[EMAIL PROTECTED]> <http://www.xworlds.com/>
Cross Worlds Computing, MetaCard Distributors, Custom Development.
Tel: +44 (0)131 672 2909. Fax: +44 (0)1639 830 707.
Archives: http://www.mail-archive.com/metacard%40lists.best.com/
Info: http://www.xworlds.com/metacard/mailinglist.htm
Please send bug reports to <[EMAIL PROTECTED]>, not this list.