Tag in forms

Howdy

My questin is:

In a form how do you decide wher the curser “jumps” when you use the tab-key. Sometimes it jumps up to the url field in the browser and somtimes to other weird places.

Is this something I can controll?

MovieClip.tabIndex

Availability

Flash Player 6.

Usage

myMovieClip.tabIndex

Description

Property; lets you customize the tab ordering of objects in a movie. The tabIndex property is undefined by default. You can set tabIndex on a button, movie clip, or text field instance.

If an object in a Flash movie contains a tabIndex property, automatic tab ordering is disabled, and the tab ordering is calculated from the tabIndex properties of objects in the movie. The custom tabordering only includes objects that have tabIndex properties.

The tabIndex property must be a positive integer. The objects are ordered according to their tabIndex properties, in ascending order. An object with a tabIndex of 1 precedes an object with a tabIndex of 2. The custom tab ordering disregards the hierarchical relationships of objects in a Flash movie. All objects in the Flash movie with tabIndex properties are placed in the tab order. You shouldn’t use the same tabIndex value for multiple objects.

hope this helps =)

That was very helpful!

Thx Shuga :slight_smile:

anytime =)

Thx for the tip Shuga it works fine most of the time but another problem is when I use the tabIndex on my textfields the cursor “jumps” to the url-field of the browser.

Is there anything I can do to override this?