Календарь Участники форума Часто Задаваемые Вопросы Поиск   
Настройки профайла, личные сообщения и подписка на темы
Форум Ложки.net - Все о Матрице : Powered by vBulletin version 2.2.8 Форум Ложки.net - Все о Матрице > Сайт и форум > The Matrix > Родная компания Нео
Отдельное сообщение:
Автор
Сообщение Новая тема   Ответить
Neo
Избранный

На форумах с сентября 2003
Местонахождение: Корабль "Нувасвсехнахер"
Сообщений: 18413

Если это как-то поможет, код из флэшки:

// Action script...

// [Action in Frame 1]
var memberData = this.loadVariables("empdirectory/Members.txt", 0);

// [Action in Frame 5]
function killTime()
{
if (getTimer() < start)
{
doTime = false;
getURL(success == true ? "http://" + memberURL : redirectSite, "");
} // End of the function
} // end if
function doRedirect()
{
if (success == false)
{
with (LoginBox1)
{
mcLoginBoxContainer.mcMsgBox.tfMsgBox = "\nInvalid Login.\nSystem Locked.";
mcLoginBoxContainer.mcPasswordBox._visible = false;
mcLoginBoxContainer.mcUserNameBox._visible = false;
} // End of with
} // end if
doTime = true;
start = getTimer() + maxDelay;
} // End of the function
function doCheck()
{
with (LoginBox1)
{
var ndx = 0;
while (ndx < totalMembers)
{
if (mcLoginBoxContainer.mcUserNameBox.tfUserNameBox == memberArray[ndx][0])
{
if (mcLoginBoxContainer.mcPasswordBox.tfPasswordBox == memberArray[ndx][1])
{
memberURL = memberArray[ndx][2];
mcLoginBoxContainer.mcMsgBox.tfMsgBox = "Welcome, " + memberArray[ndx][0] + "!\nRedirecting to:\n" + memberArray[ndx][2];
success = true;
doRedirect();
} // end if
} // end if
ndx++;
} // end while
if (++nbrStrikes < 3)
{
mcLoginBoxContainer.mcMsgBox.tfMsgBox = "Invalid Login.\nSystem Locked.";
doRedirect(false);
}
else if (success == false)
{
mcLoginBoxContainer.mcMsgBox.tfMsgBox = "ERROR!\nCheck Employee ID\nand/or PassWord!";
} // End of the function
} // End of with
} // end if
stop();
memberData = memberData.split("\n");
var memberURL = "";
var nbrStrikes = 0;
var startX;
var startY;
var xscale;
var yscale;
var start;
var doTime = false;
var msgBoxText;
var redirectSite;
var success = false;
var maxDelay;
var totalMembers = memberData.length;
var memberArray = new Array();
if (startX == NULL)
{
startX = 88;
startY = 62;
xscale = 40;
yscale = 40;
msgBoxText = "MetaCortex\nEmployee\nLogin";
redirectSite = "main.html";
maxDelay = 1000;
} // end if
var ndx = 0;
while (ndx < totalMembers)
{
memberArray.push(memberData[ndx].split(","));
ndx++;
} // end while
attachMovie("mcLoginBox", "LoginBox1", 1);
with (LoginBox1)
{
_xscale = _xscale - xscale;
_yscale = _yscale - yscale;
_y = startY;
_x = startX;
mcLoginBoxContainer.mcLoginBtn.mcSqBtn.kbdSnd = true;
mcLoginBoxContainer.mcMsgBox.tfMsgBox = msgBoxText;
mcLoginBoxContainer.mcStatusBox.tfStatusBox = "";
mcLoginBoxContainer.mcPasswordBox.tfPasswordBox = "";
mcLoginBoxContainer.mcUserNameBox.tfUserNameBox = "";
Selection.setFocus("LoginBox1.mcLoginBoxContainer.mcUserNameBox.tfUserNameBox");
} // End of with

__________________
Я знаю кун-фу, каратэ, таэквондо и еще много страшных слов!

...Учился фотошопу у Сати...

Мерз-з-зкие покемонс-с-сы...

>> We need focus! <<

Самыми красивыми существами в этой вселенной считаю девушек, кошек и драконов!

ЛОЖКИ. ЛОЖКИ ЭТО ХОРОШО.

Адрес поста | Один пост | Сообщить модератору | IP: Logged

Neo в оффлайне Old Post 21.10.2003 14:17
Посмотреть профайл автора Click here to Send Neo a Private Message Домашняя страница Neo Найти еще сообщения от Neo Добавить Neo в Ваш список друзей Добавить пользователя в Contact List ICQ  Ответить с цитированием Редактировать/Удалить сообщение
Смотреть всю тему
Время на форуме соответствует Гринвичу . Сейчас время - 19:20. Новая тема   Ответить
[Закрыть это окно]


< Contact Us - Ложки.net >

Based on vBulletin 2.2.8
Powered by Stormwave.ru
Copyright © 2003 - Lozhki.Net


Rambler's Top100