Показать сообщение отдельно
Старый 22.03.2007, 11:02
creta вне форума Посмотреть профиль Отправить личное сообщение для creta Найти все сообщения от creta
  № 3  
Ответить с цитированием
creta

Регистрация: Aug 2006
Сообщений: 16
Спасибо CorC, нашла что то подобное моему примеру
The following example saves the last frame that a user entered to a local shared object kookie:

Код:
// Get the kookie
var my_so:SharedObject = SharedObject.getLocal("kookie");

// Get the user of the kookie and go to the frame number saved for this user.
if (my_so.data.user != undefined) {
    this.user = my_so.data.user;
    this.gotoAndStop(my_so.data.frame);
}
The following code block is placed on each SWF file frame:

Код:
// On each frame, call the rememberme function to save the frame number.
function rememberme() {
    my_so.data.frame=this._currentframe;
    my_so.data.user="John";
А куда прописывать первую часть кода?


Последний раз редактировалось iNils; 22.03.2007 в 12:57.