Просмотр полной версии : проблема с кнопкой
:confused: Как прописать во flash-кнопке target, чтобы страница в том же окне открывалась?
on (press)
{
getURl("http://www.mail.ru", _parent);
}
а чтобы во фрейме открывалась, например mainFrame?
в том же окне
on (release) {
getURL("http://www.ya.ru","_self");
}
getURL(url:String, [window:String, [method:String]]) : Void
window:String [optional] - Specifies the window or HTML frame into which the document should load. You can enter the name of a specific window or select from the following reserved target names:
_self specifies the current frame in the current window.
_blank specifies a new window.
_parent specifies the parent of the current frame.
_top specifies the top-level frame in the current window.
Я в английском не силен
То есть код такой?
on (press) { getURl ("http://www.ya.ru", ["mainFrame"]); }
или
on (press) { getURl ("http://www.ya.ru", ["mainFrame", ["_self"]]); }
????????????????????????????????????????????????????????????????
Работает на vBulletin ® версия 3.7.3. Copyright ©2000-2026, Jelsoft Enterprises Ltd. Перевод: zCarot
Copyright © 1999-2008 Flasher.ru. All rights reserved.