3 Replies Latest reply on Oct 27, 2006 1:27 AM by flashofscarlet

    special character "@" not showing on screen

    Goo101
      I have developed a basic QWERTY keyboard layout on screen which the user can use to enter their Name and E-Mail address. However, when I hit the "@" button the character fails to appear in the text input box, or on the outputted variable value taken from the text input box.

      The code for this is as follows . . .

      on (release) {
      this.itxtEmail.text = itxtEmail.text + " ";
      stop();
      }

      Why is this? Why can Flash not deal with this special character? What can I do to overcome this?
        • 1. Re: special character "@" not showing on screen
          Level 7
          Goo101 wrote:
          > I have developed a basic QWERTY keyboard layout on screen which the user can
          > use to enter their Name and E-Mail address. However, when I hit the "@" button
          > the character fails to appear in the text input box, or on the outputted
          > variable value taken from the text input box.
          >
          > The code for this is as follows . . .
          >
          > on (release) {
          > this.itxtEmail.text = itxtEmail.text + " ";
          > stop();
          > }
          >
          > Why is this? Why can Flash not deal with this special character? What can I do
          > to overcome this?
          >

          Check your embedded fonts list. You might not have the @ glyph included.
          James


          --
          James O'Reilly — Consultant
          Adobe Certified Flash Expert
          http://www.jamesor.com
          Design • Code • Train
          • 2. Re: special character "@" not showing on screen
            Level 7
            Goo101 wrote:
            > I have developed a basic QWERTY keyboard layout on screen which the user can
            > use to enter their Name and E-Mail address. However, when I hit the "@" button
            > the character fails to appear in the text input box, or on the outputted
            > variable value taken from the text input box.
            >
            > The code for this is as follows . . .
            >
            > on (release) {
            > this.itxtEmail.text = itxtEmail.text + " ";
            > stop();
            > }
            >
            > Why is this? Why can Flash not deal with this special character? What can I do
            > to overcome this?
            >

            could be strange, but try to remove vmode=transparent from your HTML
            code...

            it's a known bug

            --
            Mars Spider
            Flash Developer
            http://www.marsspider.net
            • 3. Re: special character "@" not showing on screen
              flashofscarlet
              You can use :
              myString=new String()
              myText.text=String.fromCharCode(64)

              If you see the ASCII chart the ASCII for "@" is 64.