Groups | Blog | Home
all groups > flash actionscript > june 2004 >

flash actionscript : loadVar to htmlVar problem


YocheG
6/6/2004 7:14:31 PM
Since the ?-character symbolizes the start of a cgi-parameter after a
html-adress, your string mustn't contain any of them. Besides the converting of
the "&" (seperates key-value-pairs) you should convert the ? as well.

Just have a look a this url, since these are not the only since quich should
be URL-encoded (in fact, your whole string has to be URLencoded):
http://www.macromedia.com/support/flash/ts/documents/url_encoding.htm

Greetings, __yoche

CMG NO[at]SPAM BorandoTZ
6/6/2004 10:38:45 PM
Hi all,

I'm using loadVar to load a HTML string from a ASP page to a htmlText text
area, however, when string contain ¡®¢ö¢ê¢û¢ø or ¡®¢é¢õ¢ø, the text area
will display a rantangle.
I have tired to convert the "&" to "%26" first in ASP, the rantangle was
still displayed on the text area, anyone know how to solve this problem? thx
a lot!

AddThis Social Bookmark Button