Flasher Archive

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


Subject: Re: FLASH: set focus
From: Matt Wobensmith
Date: Thu, 15 Jun 2000 17:29:07 +0100

Hi Chris -

You wrote:

>how do you set the focus to a specific text box.
>i want to do this from Visual basic

I have to say that there are no Flash 4 methods that allow us to do this. I
never say "it can't be done" because people find creative ways around it...
but there is no ActionScript method that can set focus to a text field.

A creative workaround I saw once was where someone drew a picture of a text
field, with a blinking cursor (movie clip animation). In the mock text field
was the words "click here". The words were turned into a button. When the
user clicked on the text (button), the movie went to the next frame where
the text field resided. Graphically, it looked identical, and because the
user clicked on the button, they were in the correct location on the stage.
The effect was not to set the cursor focus, but to make sure the user's
attention was in the right place to do so. It's tricky, but for the example
I saw, it really did the trick.

I know it's not a "solution", but this is a FAQ and a high-ranking feature
request. I just wanted to share the only info I had on working around this
limitation.

Matt

---------------
Matt Wobensmith
Macromedia Tech Support
Flash Team Lead

flasher is generously supported by...
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
flashforward2000 and the Flash(tm) Film Festival
July 24-26, 2000, NEW YORK CITY, Hammerstein Ballroom
www.flashforward2000.com
Produced by United Digital Artists and lynda.com
Sponsored by Macromedia, Adobe Systems, Fusion, Inc, AtomFilms,
shockwave.com and Electric Rain.
1.877.4.FLASH.4 or (1.805.640.6679 outside the US and Canada)
Register before June 30 and save $200!!-- 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]