WebAIM - Web Accessibility In Mind

E-mail List Archives

set focus to button

for

From: vivek
Date: Jun 8, 2006 10:30AM


HI,



I am creating a small quiz kind of a thing wherein there will be a question
on the stage along with four images (these are 4 movie clips).

User can click on any of the image and then click on next button in order to
go to the next question.

When user clicks on next button, another question with four images comes on
the stage.
When user clicks on the next button I want the focus to be on first image
(movieclip1).

I have these movie clips on the stage: mc0, mc1, mc2, mc3
And I am loading image on these movie clips with this code:
mcname.loadMovie("");

Now, how can I bring focus on the first movie clip on click of next button?



I have tried using selection.setfocus but id didn't work.



Any suggestion?



Thanks.