A Flash Developer Resource Site

Results 1 to 2 of 2
  1. #1
    Junior Member
    Join Date
    Mar 2013

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


    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
    TextField has .text property, and iirc it dispatches Event.CHANGE - what else do you need to know
    who is this? a word of friendly advice: FFS stop using AS2

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

We have made updates to our Privacy Policy to reflect the implementation of the General Data Protection Regulation.