A Flash Developer Resource Site

Results 1 to 6 of 6

Thread: Teaching an new input text box old tricks?

  1. #1
    Flash Guru wanna-be cylon's Avatar
    Join Date
    May 2002
    Location
    Galactica
    Posts
    205

    Teaching an new input text box old tricks?

    Is there a way to make an input text box in Flash Mx....

    • Actually Tab ?
    (not change focus but insert a Tab space as in Word etc.)

    • One click to clear field ?
    (if I have "click here to input text" in a text field, is ther a way to click on the text field and clear contents? same as when you click on "Search Site" top right of Flash kit.

    • Revert to last input ?
    ("Ctrl Z" ing or undoing to last inputted data)

    Oodles of thanks for any help.
    Step away from your monitor<br>go surfing!

  2. #2
    Member
    Join Date
    Nov 2003
    Location
    Netherlands
    Posts
    91
    • Actually Tab ?
    Don't know at the moment.

    • One click to clear field ?
    You have to keep track of the status of your textfield.
    If there's been no user input, clear the field on a click event.

    • Revert to last input ?
    Again, keep track of status, but this time cache all text input.
    Replace text when Key catches ctrl+z
    Ha, ha! He is one of the Legion Lost;
    He was never meant to win;

  3. #3
    Flash Guru wanna-be cylon's Avatar
    Join Date
    May 2002
    Location
    Galactica
    Posts
    205
    Thanks VoidParadox.

    Have you come across of any posts/tutorials/documentation on how to achieve what you have mentioned?

    Anyone else know about tabbing?

    Cheers....
    Step away from your monitor<br>go surfing!

  4. #4
    Flash Guru wanna-be cylon's Avatar
    Join Date
    May 2002
    Location
    Galactica
    Posts
    205
    anyone.....
    Step away from your monitor<br>go surfing!

  5. #5
    Member
    Join Date
    Oct 2003
    Location
    Cincinnati, OH, USA
    Posts
    44
    Cylon,
    I'm not sure if you ever found an answer to the tabbing issue, but I am trying to accomplish the same thing.

    I know it is possible to capture an on Tab press event and from there just insert a \t into the textfield, but I'm still not sure of how to keep it from chaning focus away from the textfield itself.

    Let me know if you find anything out and I will do the same.

    Aaron

  6. #6
    Flash Guru wanna-be cylon's Avatar
    Join Date
    May 2002
    Location
    Galactica
    Posts
    205
    Thanks for That Aaron,
    Im still trying to find out about that tabbing issue, kinda gave up with the lack of responses.
    Anyways, Ill keep my ears to the ground and let you know if anything comes up.

    Cheers
    Step away from your monitor<br>go surfing!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  




Click Here to Expand Forum to Full Width

HTML5 Development Center