Capital letter to small letter in Flash MX

Ask a Question related to Macromedia Flash Actionscript, Design and Development.

  1. #1

    Default Capital letter to small letter in Flash MX

    Hi there

    I am doing a search tool in Flash MX and using a .xml as the archive
    containing the text

    At the moment I am using "indexof" as the tool to find a word in the .xml (As
    a string) and I can find coincidences using capital letters and small letters.
    For example

    "Hello my name is Manuel" is on the .xm

    When i search for the work "Hello" i find a coincidence, but If i try to
    search for the word "hello" I can?t find anything

    I was wondering if is posible to transform all the string to small letter. Tx
    in advance

    Rokkuman Guest

  2. Similar Questions and Discussions

    1. Why I can't see lithuanian letter in my Flash Ad
      Why I can't see Lithuanian letters in my Flash Ad?
    2. Changing from half letter to letter document size
      I have a document that was created in the size it will be (5.5" x 8.8") and it will be punched on the spine side. It has a slightly larger margin on...
    3. Missing letter, letter replaced
      I have save to postscript format from Indesign CS2 before distilling to pdf format. My platform is Max OS X, 384 MB ram. Issue: When I distill...
    4. letter by letter text display
      My friend had an idea for a site, where he wanted text to be typed out letter by letter in a movie. Not inputed by the user, but displayed by the...
    5. letter
      From_the desk of ENGR.AREPS GYAM DIRECTOR: PROJECT INSPECTION(NNPC) FAX NO:234-9-2726702 Dear Friend, FUND TRANSFER
  3. #2

    Default Re: Capital letter to small letter in Flash MX

    Just found the answer :) If anyone is wondering:

    mystring.toLowerCase();

    Tx anyway.
    Rokkuman Guest

Posting Permissions

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

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139