Skip to main content
Inspiring
October 26, 2006
Question

special character "@" not showing on screen

  • October 26, 2006
  • 3 replies
  • 283 views
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?
This topic has been closed for replies.

3 replies

flashofscarlet
Inspiring
October 27, 2006
You can use :
myString=new String()
myText.text=String.fromCharCode(64)

If you see the ASCII chart the ASCII for "@" is 64.
Inspiring
October 27, 2006
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
Inspiring
October 26, 2006
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