PDA

View Full Version : TextInput Problems


evoker
06-03-2005, 09:51 AM
Hello all,
I made a little flash movie that checks a domain name's availability. All works great with the code but the input text I have does not accept any characters beside English. I try to write Greek in it and I can't.
The swf can be found here: http://www.domains.gr/index.php
On the top left corner there is a link to turn everything into English so you can understand what it says.

The problem is that I can't write Greek in the input text (some strange symbols appear instead) that appears after the small animation with the golf ball.

Please any help would be welcome!!
:confused:

madgett
06-04-2005, 08:36 PM
It works if I copy and paste Greek in it. So the ascii characters show up fine. Are you able to copy and paste? Or is it only when you type?

evoker
06-06-2005, 07:39 AM
Thanks for answering!
Copying works for me also but I can't write Greek in it.

Any thoughts?

madgett
06-06-2005, 05:35 PM
Ok, have you tried embeding the fonts into the textfield?

For more info on that open the Flash Help and search for Using embedded fonts

I saw Greek in the list, so maybe that will do it for you.

evoker
06-07-2005, 08:28 AM
I was searching through the internet and through Flash MX 2004 help and can't find something specific.
Do you think you can help me a little more?
The textfield is a textinput component from Flash MX 2004 inside a movieclip.

doo
09-13-2005, 02:00 PM
Hi, did you come to any solution in this case? I have the same problem with the Swedish letters "å, ä, ö". I would really like to know how to fix that as well.

evoker
09-13-2005, 02:05 PM
The problem was solved for me by removing the transparency HTML tags from my page <embed wmode......
Hope this helps

tapic
09-14-2005, 01:52 PM
I had the similar problem. I was not able to type Turkish characters,but I could copy-paste.

Removing <param name="wmode" value="transparent"> tag from the html file solved the type-in to the TextInput problem.

But I need the wmode tag! Still no solution...
what a stupid relationship between wmode and textinput component...

There is definitely a bug there.

anyone able to write unicode in textinput with wmode transparent tag?

evoker
09-14-2005, 02:01 PM
Try it like this:

<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="https://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="320" height="76">
<param name="wmode" value="transparent">
<param name="movie" value="flash/logo.swf">
<param name="quality" value="high">
<embed src="flash/logo.swf" wmode="transparent" quality="high" pluginspage="https://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="320" height="76">
</embed>
</object>

Notice that I've put wmode in two places, in both the object and embed tag.
Hope it helps. Worked for me.

tapic
09-14-2005, 02:10 PM
Thanks for the reply...

My code was already the same as you just suggested.
Still nothing changes..

Are you sure you didn't do anything else and you are using the textinput component not the text fields?

evoker
09-14-2005, 02:12 PM
That's weird.
I used a textinput component.
I'll look into it later.
Check back in a couple of hours.

EDIT: if you are in a hurry upload somewhere the file for me to get.

tapic
09-14-2005, 02:32 PM
I reproduced the problem and attached the files.

Thank you very much.
Hope to hear from you...

tapic
11-23-2005, 09:15 AM
This wmode & text input problem can be solved by adding a decoder function to the text field's on(change) event which will replace the characters appearing wrong with your right characters you will state in the decoder function..
You should use string manipulation functions for changing the last typed character(s) of course....