PDA

View Full Version : letter won't load right


sandman9
07-29-2003, 02:30 PM
In this .txt file the "a" with the slash above it won't load right in flash. It was a word document copy'd and pasted at first so then I typed that symbol out on my keyboard and it still doesn't come out right .... i've attached the file so anyone interested can have a look

Thanks
Sandman9

dzy2566
07-29-2003, 04:41 PM
My guess would be that whatever font you are using does not contain that character in its set. Try it using a more reliable font like arial, courier, or time new roman. See if it works with those font. If it does, than you'll know that the font you are using doesn't have that character.

Sualdam
07-29-2003, 04:52 PM
If you use url encoding you shouldn't have any problems.

Take a look here for all the codes:

http://www.macromedia.com/support/flash/ts/documents/url_encoding.htm

sandman9
07-30-2003, 01:49 AM
Dry

That's what I'm using

Sualdam

??????????????????

I'll look at that link tom at work and see if I can figure it out with that link

Thanks guys
Sandman9

freddycodes
07-30-2003, 02:52 AM
I was able to get it to work with a

system.useCodePage = true

At the top of the first frame.

sandman9
07-30-2003, 08:10 PM
Great job Freddycodes

PS-you seemed to erase the "a" with the line over it ..... so i put in a file with that symbol and it worked :D

Thanks to everyone above
Sandman9

sandman9
08-01-2003, 02:12 PM
Freddycodes

do you know how your code

system.useCodePage = true;
myVars = new LoadVars();
myVars.load("about.txt");
myVars.onData = function(raw) {
myText.htmlText = raw;
}


Can be made compatible with a loadvariable method since yours uses the instance method?

PS- what does "system.useCodePage = true;" mean?

Thanks
Sandman9

freddycodes
08-01-2003, 03:00 PM
codePage thing is for unicode support.


AS for the loadVariables method, why do you want to do that, its so, shall I say Flash 5. LoadVars is more supreme in every way. Is there something that you cannot make work or don't understand about it?

sandman9
08-01-2003, 08:07 PM
ahhh hello freddycodes .... i'm starting to realize that var is not the way to go. However, I was introduced to that Var way :(. It is also very simple i guess. I have a dynamic text field with a var name and then one very simple line on code (loadVariables("asian.txt", "textMovie");) .... and that's it

with the way above i have all of this


system.useCodePage = true;
myVars = new LoadVars();
myVars.load("about.txt");
myVars.onData = function(raw) {
myText.htmlText = raw;
}


With this I don't get line number 2 and 4. Also I'm using a method where if the user's clicks on button 1 of three then it's assigned a value (say it equals am1, and button2 equals am2, and so forth). I do this b/c when the user clicks on a button then they get sent to a frame label where it plays an animation there. Then at the end of the animation if the current value is am1 then it loadVariables("asian.txt", "textMovie") but if it equals am2 then it loadVariables("real.txt", "textMovie").

Although i'm open to learning newer and better ways but just do not know how to make that method apply to the above

Thanks
Sandman9