# ScrollPane Tab stop (tabindex) doesn't work

**URL:** <https://forum.kirupa.com/t/scrollpane-tab-stop-tabindex-doesnt-work/292359>\
**Category:** Uncategorized\
**Created:** [July 13, 2009, 2:16pm UTC](https://forum.kirupa.com/t/scrollpane-tab-stop-tabindex-doesnt-work/292359 "2009-07-13T14:16:14Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![kwh](https://avatars.discourse-cdn.com/v4/letter/k/7993a0/32.png) [@kwh](https://forum.kirupa.com/u/kwh)\
**Post date:** [July 13, 2009, 2:16pm UTC](https://forum.kirupa.com/t/scrollpane-tab-stop-tabindex-doesnt-work/292359/1 "2009-07-13T14:16:14Z")

</div>

Hi.

I’m working with Flash CS3 / AS3 file.

I’m making a form with flash.

I have a movie clip called “mcPage1Contents” in the library with the link “mcPage1Contents” that has some input text boxes in it like txtName and txtTel.

On the stage I have a Movie clip called “mcPage1” and inside of it I have a SrollPane called “SrollPane”.

My AS on the first frame is:

[COLOR=RoyalBlue]var mcPage1Holder:MovieClip = new mcPage1Contents();  
mcPage1.ScrollPane.source = mcPage1Holder;[/COLOR]

I want to set focus to the first text field but it doesn’t work:

[COLOR=RoyalBlue]stage.focus = mcPage1.ScrollPane.source.txtName;[/COLOR]  
or  
[COLOR=RoyalBlue]stage.focus = mcPage1Holder.txtName;[/COLOR]

I have tried all the combination of [COLOR=RoyalBlue]tabEnabled[/COLOR], [COLOR=RoyalBlue]tabChildren[/COLOR], [COLOR=RoyalBlue]focusEnabled[/COLOR], [COLOR=RoyalBlue]tabEnabled [/COLOR]and [COLOR=RoyalBlue]tabIndex [/COLOR]but nothing.

The form shows perfectly when I publish it. The scroll and other functions works. Only I can’t get focus using Tab and stage.focus.

Any idea? is this possible? is better that I make my own component?

Thank you.
