Level problems

Hi I started another topic about this but without success. I might have been a little blurry about what I meant.:slight_smile:

So this time I´ll try to me more specific (if that´s possible)

I have a guestbook (and have read alot about this problem in forums but it doesn´t seem to fit in on my problem) That have problems with special characters.

In this link

http://www.cema.se/temp/test/GuestBook.html

it works fine with äåö letters

but when I load it into another level (level3) it looks like this

http://www.cema.se/temp/test/level/

the only thing that I have change in the fla in the second one i the loadVariableNum to fit level3!

Have tried the
System.UseCodePage=true;
it works when I load text straight from a textfile but not in my guestbook case.

I´m on my 4 day and running in front of my comp and do not have a lot of hair left on my abused head so please help out :sigh:

I´m attaching my files I this desperate last cry for help…

i can help you with your special characters problem,

i assume you are using php to retrieve the data.

its possible to encrypt your text to html code to make sure the special characters will work, and for your luck, flash can read that html code :slight_smile:

he’s an example on how to encrypt your text


<?
$text = "héhé haha";
$text = urlencode($text);
echo $text
?>

will give you this output:
h-&-e-a-c-u-t-e-;-h-&-e-a-c-u-t-e-;-±h-a-h-a-
(remove all “-”, else this forum would decrypt it to)

flash can read this and will use the decrypted text imidiatly if you enable html code on your text field :slight_smile:

it worked on my own guestbook to:

Here

Ok that sounds great if there´s a solution :slight_smile:

But I´m pretty new to PHP and don´t now where in the code I should put the code you wrote. Please (I know I´m beeing annoying) but could you give me an example in my PHP-file and attach it so I can se it how it´s done.

Thanks for replying I´m getting new hope :beam:

Oh and is it possible to encrypt more letters at the same time in the code like this

<?
$text = "äåöÄÅÖ";
$text = urlencode($text);
echo $text
?>

Is that how it´s done?

yeah

Ok I´m on it I´ll get back to you if I won´t get it to work :slight_smile:

I´m really sorry man but I can´t get it to work?!

Could you please attach an example of the code in my php-file I know this sound like I´m leeching of of you but I really can´t figure this out :hangover: