Search code examples
actionscript-3apache-flexmxml

iteration through every component instance that have tabIndex Proparty


i have a custom mxml component that i customizing it is important to me that the order when the user is pressing tab will be order by the order of appherance

i read this answer

Recursive iteration through every component instance that is very good my problem is to access the tabIndex property to set it with running order

i need to check if it has the TabIndex property and if he does set it


Solution

  • You can use the hasOwnProperty() method.