Flasher Archive

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


Subject: Re: [flasher] CAN IT BE DONE
From: Tony McLawhorn
Date: Fri, 02 Mar 2001 18:32:43 -0000

While I haven't actually done it, this is some code I came across in a book...

if (key.isdown(key.ENTER)){
// IF SO, FOCUS THE NEXT TEXT BOX
Selection.setFocus("_level0.myMovieClip.city");
}

"myMovieClip.city" is a movieclip with a text field inside it.

This should work.

Ian Richardson wrote:

> I have created a flash calculator style programme based over 8 frames, the
> user inputs the information which become a variable and then presses next.
> this takes them to the next frame.
>
> What i want to happen is for the cursor, each time to move to the text input
> box automatically. Ie you fill in the first variable in frame one, press
> next and the go to frame two, and the cursor to be in the box ready for the
> user to enter..
>
> Can it be done and if so how?

--
|>
| Tony McLawhorn
| Director of Educational Software Development
| College of Science and Mathematics
| University of South Carolina
| Columbia, SC 29208
| Tel: (803) 777-2883
| Fax: (803) 777-2451
| tonyatpsc [dot] sc [dot] edu





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