Форум Flasher.ru

Форум Flasher.ru (http://www.flasher.ru/forum/index.php)
-   ActionScript (http://www.flasher.ru/forum/forumdisplay.php?f=5)
-   -   Использование билиотеки... (http://www.flasher.ru/forum/showthread.php?t=51145)

rojok-online 07.11.2003 20:24

Использование билиотеки...
 
как использовать билиотеку в мувике?

rojok-online 08.11.2003 00:50

в библиотеке есть кнопка, как мне её поставить в нужное место или в нужный мувик?

+=Metlio=+ 08.11.2003 01:32

attachMovie

sergwizard 08.11.2003 02:01

Или просто перетащить мышкой в нужное место.
Вообще-то, при таком количестве постов, как у тебя, такие базовые и простейшие вещи нужно знать.

rojok-online 08.11.2003 02:11

sergwizard
я не хочу перестаскивать... Я хочу просто все через АС сделать ....
+=Metlio=+
Спасибо!

rojok-online 08.11.2003 02:17

+=Metlio=+
как правельно пользоваться attachMovie?

+=Metlio=+ 08.11.2003 02:23

MovieClip.attachMovie()
Availability
Flash Player 5.

Usage
my_mc.attachMovie(idName, newName, depth [, initObject])

Parameters
idName The linkage name of the movie clip symbol in the library to attach to a movie clip on the Stage. This is the name entered in the Identifier field in the Linkage Properties dialog box.

newname A unique instance name for the movie clip being attached to the movie clip.

depth An integer specifying the depth level where the SWF file is placed.

initObject (Supported for Flash Player 6 and later) An object containing properties with which to populate the newly attached movie clip. This parameter allows dynamically created movie clips to receive clip parameters. If initObject is not an object, it is ignored. All properties of initObject are copied into the new instance. The properties specified with initObject are available to the constructor function. This parameter is optional.

Returns
A reference to the newly created instance.

Description
Method; takes a symbol from the library and attaches it to the SWF file on the Stage specified by my_mc. Use removeMovieClip() or unloadMovie() to remove a SWF file attached with attachMovie().

Example
The following example attaches the symbol with the linkage identifier "circle" to the movie clip instance, which is on the Stage in the SWF file.

on (release) {
thing.attachMovie( "circle", "circle1", 2 );
}

sergwizard 08.11.2003 02:35

Цитата:

Я хочу просто все через АС сделать
Но у тебя, почему-то, все получается через ass. :D

+=Metlio=+ 08.11.2003 02:38

Цитата:

Но у тебя, почему-то, все получается через ass.
:D :D :D
Спасибо! Поднял моё ужасное настроение!!! ;)

rojok-online 08.11.2003 02:46

sergwizard
Код:

Но у тебя, почему-то, все получается через ass.
остряк просто не могу!


Часовой пояс GMT +4, время: 14:04.

Copyright © 1999-2008 Flasher.ru. All rights reserved.
Работает на vBulletin®. Copyright ©2000 - 2026, Jelsoft Enterprises Ltd. Перевод: zCarot
Администрация сайта не несёт ответственности за любую предоставленную посетителями информацию. Подробнее см. Правила.