Здравствуйте, уважаемые флешеры
Не могли бы, Вы мне помочь.

[Только зарегистрированные пользователи могут видеть ссылки. ]

В коде флешки есть строка
<div class='codetop'>CODE</div><div class='codemain' style='height:200px;white-spacere;overflow:auto'>mb.onRelease = function() {
getURL(&#39;java script:location.reload();&#39;
}</div>
после входа, и определенных действий нажимаю button mb, а это приводит
соответственно к рефрешу браузера и повторному появлению логина парола. (1 кард). Как этого избежать, т. е. чтобы логин пароль сохранялся и после нажатия button mb, флешка сама переходила на 2 кадр?

Мне сказали, что сессию в этом коде добавлять не желательно,
лучше - сохранять логин-пароль в SharedObject, но у меня не получается, сделать, помогите.

флешка состоит из двух кадров
1 кадр: логин пароль
2 кадр: контент

Код 1 кадра
<div class='codetop'>CODE</div><div class='codemain' style='height:200px;white-spacere;overflow:auto'>
btn.onRelease = function () {
//create a new LoadVars Object
myvars = new LoadVars();
//set variables in that objec
myvars.user = user;
myvars.pass = pass;
//When you receive data back, execute the function action ()
myvars.onLoad = action;
//Send the variables and wait for the response
//The random fake variable is attached to prevent caching the response data
myvars.sendAndLoad("secure_login.php?random="+new Date().getTime(), myvars);
}
function action() {
//Check the response
if (myvars.response == "ok") {
//if the response was "ok", proceed to the secured area
status = "Welcome, "+user;
gotoAndStop(2);
} else {
// else show the error status
status = myvars.response;
}
}
// Stop the movie here
stop();</div>

Код 2 кадра
<div class='codetop'>CODE</div><div class='codemain' style='height:200px;white-spacere;overflow:auto'>mb.onRelease = function() {
getURL(&#39;java script:location.reload();&#39;
}</div>

PHP код
<div class='codetop'>CODE</div><div class='codemain' style='height:200px;white-spacere;overflow:auto'><?php

// SET THE CORRECT USERNAME AND PASSWORD

$correct_user = "flash";
$correct_pass = "vista";

// Checkif the username is correct
if ($user==$correct_user){

//IF the username is correct, check the password
if ($pass==$correct_pass){

//If the password is correct, return "ok"
$response="ok";

} else {

//Else the password is wrong
$response="Wrong password";
}

} else {

//If the username is wrong
$response="Wrong username";
}

//Return the response to Flash
print "&response=".$response."&";

?></div><a href="http://narod.ru/disk/12913167000/save.exe.html" target="_blank" rel="nofollow">
</a>