Показать сообщение отдельно
Старый 12.01.2015, 00:48
dark256 вне форума Посмотреть профиль Отправить личное сообщение для dark256 Посетить домашнюю страницу dark256 Найти все сообщения от dark256
  № 2  
Ответить с цитированием
dark256
 
Аватар для dark256

блогер
Регистрация: Apr 2008
Адрес: SPb
Сообщений: 3,718
Записей в блоге: 5
Отправить сообщение для dark256 с помощью ICQ Отправить сообщение для dark256 с помощью Skype™
Цитата:
unescape function
unescape(string:String) : String

Evaluates the parameter x as a string, decodes the string from URL-encoded format (converting all hexadecimal sequences to ASCII characters), and returns the string.

Availability: ActionScript 1.0; Flash Player 5

Parameters
string:String - A string with hexadecimal sequences to escape.

Returns
String - A string decoded from a URL-encoded parameter.

Example
The following example shows the escape-to-unescape conversion process:


var email:String = "user@somedomain.com";
trace(email);
var escapedEmail:String = escape(email);
trace(escapedEmail);
var unescapedEmail:String = unescape(escapedEmail);
trace(unescapedEmail);


The following result is displayed in the Output panel.

user@somedomain.com
user%40somedomain%2Ecom
user@somedomain.com
Соответственно:

Код AS1/AS2:
my_load_vars.onLoad = function(){
	trace( unescape( this ) );
}
Далее читаем про JSON

http://www.flasher.ru/forum/showpost...69&postcount=4
__________________
FLASHER.MAP SOUNDSTAGE / CS3 / AS2