Professional Web Applications Themes

Capital letter to small letter in Flash MX - Macromedia Flash Actionscript

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 ...

  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. #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

Similar Threads

  1. Why I can't see lithuanian letter in my Flash Ad
    By DariusRIM in forum Macromedia Flash Ad Development
    Replies: 1
    Last Post: March 5th, 10:31 AM
  2. Changing from half letter to letter doent size
    By Jane_Evans@adobeforums.com in forum Adobe Indesign Macintosh
    Replies: 8
    Last Post: August 22nd, 05:56 PM
  3. Missing letter, letter replaced
    By joline_tan@adobeforums.com in forum Adobe Indesign Macintosh
    Replies: 0
    Last Post: July 23rd, 01:36 AM
  4. letter by letter text display
    By Souske webforumsuser@macromedia.com in forum Macromedia Flash Sitedesign
    Replies: 1
    Last Post: October 29th, 05:09 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not 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