A Flash Developer Resource Site

Results 1 to 4 of 4

Thread: replace string (dynamic text)

  1. #1
    Member
    Join Date
    Aug 2008
    Posts
    33

    Question replace string (dynamic text)

    hi

    I have an "input text" a "dynamic text" and a button.
    target: when I insert a string in input text box and click on button, my actionscript should search in string and if there is a character like "%20" should replace with character "K" and then the result shows in dynamic text.

    How should I use the action script for this target?

    regards

  2. #2
    AKA [ Paul Bainbridge] webdreamer's Avatar
    Join Date
    Aug 2001
    Location
    Glasgow, Scotland, UK
    Posts
    3,320
    check this: http://www.liamr.com/blog/?p=77

    Hope it helps
    .: To me AS is like LEGO, Only for the big Kids :.
    - Site - Blog - Twitter - Linkedin
    bringmadeleinehome.com

  3. #3
    Member
    Join Date
    Aug 2008
    Posts
    33

    Hi

    Hi webdreamer

    I checked that, It helped me and was excellent!

    Thank you very much dera friend

  4. #4
    AKA [ Paul Bainbridge] webdreamer's Avatar
    Join Date
    Aug 2001
    Location
    Glasgow, Scotland, UK
    Posts
    3,320
    Np. It is a handy little code snippet
    .: To me AS is like LEGO, Only for the big Kids :.
    - Site - Blog - Twitter - Linkedin
    bringmadeleinehome.com

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