Search content:

 

Personal Menu
Username:
Password:
Save password

Become a member

Forgot Password?

 

Don't miss these
Remove border behavior
Export Text for proofing
ZGTSB-Slider Button
Read Text From File into Member w/ open dialog
Wait for Cue Point GTF
Multi Cropper
DirGames Discussion List
Flash Member Controls
Set ViewScale Property of a Flash Sprite
cXtraFlameFX
MediaMacros Xtras Mall
 

 

 

Behavior Forward and Reverse (Shitf+Tab) between Fields

Added on 9/23/2003

 

Compatibilities:
D8 D8_5 D9 Mac PC Shockwave

This item has not yet been rated

Author: MediaMacros (website)

Allows tab and Shift tab to go forward and backwards between editable fields.

--Copyright 2003 MediaMacros, Inc.
--Place this on fields and disable the internal tab property to allow tab and shift tab (reverse) between fields

property spriteNum

on getSprites me, l
  l.add(spriteNum)
end

on keyUp me
  if the key = tab then
    l = []
    sendAllSprites(#getSprites, l)
    sort(l)
    p = l.getOne(spriteNum)
    if the shiftDown then
      --back
      n = p - 1
      if n < 1 then
        n = l.count
      end if
    else
      --next
      n = p + 1
      if n > l.count then
        n = 1
      end if
    end if
    --activate the field
    the keyboardFocusSprite = l[n]
  else
    pass
  end if
end

 


Upload Provided by ABCUpload ASP

Contact

MMI
22 West Court Sq
Suite 2C
Newnan, GA 30263
USA

Fax - (206) 339-5833

Send e-mail