PDA

Просмотр полной версии : Как сделать на Flash CS3 адрес сайта


MaXiMuS_Ru
07.06.2007, 18:06
У меня такая проблема, я незнаю где прописать к примеру: http:\\auto.ya1.ru\ и _blank,
как это делается в любых других прогах знаю , а в этой затрудняюсь.
Кто знает как это сделать, помогите!

DjirX
09.06.2007, 12:33
Вот вот. Подскажите народ там вроде есть функция getlink или что то в этом роде но все равно не пашет. Если есть книжку дайте там где описана эта фнукция.

Martin_Logan
09.06.2007, 12:58
Это функция getURL ().
На сайте Adobe про неё подробно написано. (http://www.adobe.com/support/flash/action_scripts/actionscript_dictionary/actionscript_dictionary377.html)
Вот выдержка:
Usage

getURL(url [, window [, "variables"]])

Parameters
url The URL from which to obtain the document.

window An optional parameter specifying the window or HTML frame that the document should load into. You can enter the name of a specific window or choose 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(release) {
getURL(incomingAd, "_blank");
}

DjirX
09.06.2007, 21:44
10x ща замутю

MaXiMuS_Ru
10.06.2007, 13:19
Спасибо тебе, щас доделаю бенерик свой