Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 3622810
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 18, 20262026-05-18T23:18:20+00:00 2026-05-18T23:18:20+00:00

I have a form that pops up in flex, it is a movieclip contained

  • 0

I have a form that pops up in flex, it is a movieclip contained within a UIComponent. Within this movieclip are form fields.

For some reason I can’t get the tab button working to be able to tab between the fields. I set up each field with a tabindex, but that doesn’t work.

Is there anything else I need to do besides this? This is basically all the code I am using:

email.tabIndex = 1;
city.tabIndex = 2;
firstName.tabIndex = 3;

etc.

Is this not working because of flex? And if so, what is a workaround?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-18T23:18:20+00:00Added an answer on May 18, 2026 at 11:18 pm

    have you tried adding a new FocusManager instance to the UIComponent that contains the movieclip? I am not sure but maybe.

    Also another thing I can think of could be the tabEnabled property of the form elements and the containing Objects.

    Hope it gets you closer.

    Good luck,
    Rob

    ////////// UPDATE ///////////////
    Unfortunately I couldn’t make it work, but I send you my code, maybe you can do something with it.

    I tried to add a movieclip and the textfields into it, but it’s the same, no TAB at all. So I simply added the textfields to the UIComponent and set all the possible tab and focus related properties to true – no luck :(.

    <?xml version="1.0" encoding="utf-8"?>
    <s:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
                   xmlns:s="library://ns.adobe.com/flex/spark"
                   xmlns:mx="library://ns.adobe.com/flex/mx">
    
        <fx:Declarations>
            <!-- Place non-visual elements (e.g., services, value objects) here -->
        </fx:Declarations>
    
        <fx:Script>
            <![CDATA[
            import mx.core.UIComponent;
                import flash.display.MovieClip;
                import flash.text.TextField;
    
                protected function init(event:Event):void
                {                                                               
                    var i:uint = 0;
                    var l:uint = 4;
                    while (i < l)
                    {
                        var tf:TextField = new TextField();
                        tf.name = "tf_" + i;
                        tf.width = 200;
                        tf.height = 21;
                        tf.border = true;
                        tf.type = "input";
                        tf.tabIndex = i;
                        tf.tabEnabled = true;
                        tf.text = "tabIndex = " + String(tf.tabIndex);
                        tf.x = 50;
                        tf.y = tf.height * i + 10 * i + 100;
                        uicomp.addChild(tf);
                        ++i;
                    }
                };
            ]]>
        </fx:Script>
    
        <mx:UIComponent hasFocusableChildren="true" tabChildren="true" tabEnabled="true" tabFocusEnabled="true" id="uicomp" width="100%" height="100%" addedToStage="init(event);" />
    
    </s:Application>
    

    Sorry, that’s all I could do for now. If you get the answer please let me know, I am keen.

    Cheers,
    Rob

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have this form that pops up in a modal window like so: <?php
I have a form (signup.php) that pops up in a nyroModal window when I
I have a form that I'm submitting through AJAX. The form includes many fields,
I have a form that I want to provide some security on, but up
I have a Windows form application that has a child form that pops up
I've got a situation where I have a main form that pops up an
I have a Google spreadsheet with a form that pops up to receive data
I am fairly new to jQuery and I have this overlay window that pops
I have a Firefox extension that pops up a log-in form (it's a c++
I have a form that pops up when the user clicks a link and

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.