2 Replies Latest reply on Sep 12, 2009 3:28 PM by wgb14

    Trying the same using Textarea but

    wgb14 Level 1

      Hi all

       

      I have this code that works fine with plain fields. However it doesn't work with flash textareas. Any idea why?

       

      global which_field

       

      on mouseup me

        puppetSound 1, "typewriter1"

       

        displayfield = window("stage").movie.member(which_field)

       

        c = displayfield.text.length

       

        if c <> 0 then

       

          put  numtochar(32) into displayfield.char[c+1]

       

          window("stage").movie.member(which_field).selection = [c + 1, c + 1]

        else

       

          beep

        end if