Count number of times a letter appears in a string and display number in real time?
A Flash Developer Resource Site

Results 1 to 2 of 2

Thread: Count number of times a letter appears in a string and display number in real time?

  1. #1
    Junior Member
    Join Date
    Mar 2013
    Posts
    2

    Question Count number of times a letter appears in a string and display number in real time?

    Hello,

    I need to count how many times a letter is contained inside a string as the user types in the textbox (i.e., in real time) and display the count on the page? I would really appreciate it if someone can give me some guidance how to do that in ActionScript 3.0/Flash CS6.

    Thanks a lot in advance!

  2. #2
    Senior Member realMakc's Avatar
    Join Date
    Oct 2002
    Posts
    665
    TextField has .text property, and iirc it dispatches Event.CHANGE - what else do you need to know

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

Poll by Flashkit.com