Показать сообщение отдельно
Старый 27.09.2006, 21:25
noog вне форума Посмотреть профиль Найти все сообщения от noog
  № 5  
Ответить с цитированием
noog
Banned

Регистрация: Sep 2006
Сообщений: 37
P.S. я пытаюсь вот через этот пример, но что-то не очень получается:
Example

This example calls the SharedObject.send method to execute the doSomething method in the client-side ActionScript and passes doSomething the string "this is a test".

Код:
var myShared = SharedObject.get("foo", true);
myShared.send("doSomething", "this is a test");
The following example is the client-side ActionScript code that defines the doSomething method:

Код:
connection = new NetConnection();
connection.connect("rtmp://www.macromedia.com/someApp");
var x = SharedObject.getRemote("foo", connection.uri, true);
x.connect(connection); 
x.doSomething = function(str) {
// process the str
};
к тому же не могу понять что такое foo и что такое connection.uri (по русски не доходит)


Последний раз редактировалось iNils; 27.09.2006 в 23:47.