![]() |
|
||||||||||
|
|||||||
|
|
« Предыдущая тема | Следующая тема » |
| Опции темы | Опции просмотра |
|
![]() |
![]() |
|
|||||
on (release) {
var output_lv:LoadVars = new LoadVars();
var input_lv:LoadVars = new LoadVars();
output_lv.query = _root.searchFieldInput.text;
output_lv.sendAndLoad("script.php", input_lv, "POST");
output_lv.onLoad = function(success:Boolean) {
// If Flash is able to successfully send and load the variables from the server-side script...
if (success) {
_root.searchField.htmlText = input_lv.sff;
} else {
_root.searchField.htmlText = "<b>Error resolving the searchs query</b>";
}
}
}
не подскажите, почему не работает? я правильно все написал в плане логики и синтаксиса? |
|
|||||
|
Banned
[+1 16.05.2006]
[++1 16.05.2006] [+ 1 21.05.06] [++ за хамство] [+1 21.05.2006] Регистрация: Dec 2003
Сообщений: 3,925
|
Нет.
Определение обработчика после отправки когда-нибудь да аукнется автору. |
|
|||||
|
Регистрация: Jun 2005
Адрес: в Питере
Сообщений: 981
|
on (release) {
var output_lv:LoadVars = new LoadVars();
var input_lv:LoadVars = new LoadVars();
output_lv.query = _root.searchFieldInput.text;
output_lv.sendAndLoad("script.php", input_lv, "POST");
input_lv.onLoad = function(success:Boolean) {
// If Flash is able to successfully send and load the variables from the server-side script...
if (success) {
_root.searchField.htmlText = this.sff;
} else {
_root.searchField.htmlText = "<b>Error resolving the searchs query</b>";
}
}
}
__________________
Делай всё быстро, но не торопись!.._/*o|o*\_. |
![]() |
![]() |
Часовой пояс GMT +4, время: 14:15. |
|
|
« Предыдущая тема | Следующая тема » |
|
|