-
I have an icon and U dont!
flashVars and extended Characters...
I am sending unicode encoded variables to my swf with flashVars in the object imbed tag.
It's not working...
éèêëą = no workie
flashvars sent like this var1=%E9%E8%EA%EB
I enabled the textfields to contain "all characters" and I checked the font, which DOES have the chars I need...
But when the flash movie gets the variables, all the "funny" characters display as blank...
HELP!!!
Last edited by johnwun; 02-20-2004 at 03:37 PM.
[a.fun>b.fun ? trace("do(a)") : trace("do(b)");
wundes.com
-
Senior Member
I have had a similar problem while trying to display BOLD characters of an embedded font set. They just wouldn't display.
The solution, was to create a dynamic text field off screen that contained BOLD characters and then they were embedded. You may try palcing the characters in at dynamic text field, off screen. Set that field to embed the characters.
_t
-
I have an icon and U dont!
Thanks Shotsy...
In this case it's not my problem, but I have gotten that to work...
I have a theory here which MAY work... I think my unicode encoding is incorrect.
As above I was using the % sign and the two character ID...
I found an example of unicode in flash that does work.
I believe it will work if I change my encoding scheme to this format:
\u00c5 \u00c6 \u00c0 \u00c1 \u00c2
I'll post back if it fails...
[a.fun>b.fun ? trace("do(a)") : trace("do(b)");
wundes.com
-
I have an icon and U dont!
...it failed...
any other ideas?
[a.fun>b.fun ? trace("do(a)") : trace("do(b)");
wundes.com
-
hopefully this can help you. macromedia to the rescue!
Ohhhh jeez.......not again.
-
Senior Member
When you embedded your font to include all characters, did you check off Latin 1? I think that is the character set that contains those characters.
Other than that, sorry, I can't think of anything else.
_t
-
I have an icon and U dont!
quov: No, I tried that approach in my first post. It doesn't seem to work with flashvars...
shotsy: Check off Latin1??? Can't find that anywhere, I'm curious where it is...
I've gotten it to work in a limited fashion.
(my CF code was URL encoding them)
Apparently if you populate the flashVars with the actual letters it works for all unicode letters under 255. That SHOULD be all I need in this case.
For the sake of the forum, I'd still like to find a better answer that works for ALL unicode in flashVars, so if anyone has more ideas, please post them...
I remember that oldNewbie posted something about adding a line in the AS that said "use unicode page" or something, but I can't seem to find it. I think it was regarding XML when I read it, but I'd still like to find the reference...
[a.fun>b.fun ? trace("do(a)") : trace("do(b)");
wundes.com
-
Senior Member
Sorry, I think that may be only 2004.
_t
-
Senior Member
The code you are looking for is:
useCodepage();
Check the help file under that for further info about unicode.
_t
-
I have an icon and U dont!
shotsy: Yeah that's the one...
After reading about it, it looks like more of a problem than a help. I want my text to display uniformly on all systems, and useCodepage() is reliant on each systems local mappings...
Thanks for finding the command tho...
-J
[a.fun>b.fun ? trace("do(a)") : trace("do(b)");
wundes.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
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|