Просмотр полной версии : Использование билиотеки...
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.
остряк просто не могу!
sergwizard
08.11.2003, 02:57
А ты откушай виагры, тогда точно сможешь.
rojok-online
08.11.2003, 03:01
sergwizard
Запарил!
Я пришел сюда за тем чтоб мне помогли...
MovieClip.attachMovie() не работает... как прально пользоваться? И не надо мне хелп кидать на английском, он у меня тоже есть, но только там не понятно как делать ...
главное не забуть в библиотек где лижит твой "атачемый" мувик в свойствах линкейдж установить галку на экспорт фор АС
в моем случае этот линк будет называтся "obj"
_root.onEnterFrame = function() {
_root.attachMovie("obj", "muv", 1);
_root.muv._x = 100;
_root.muv._y = 100;
};
ну а если не понял юзай файл
только не onEnterFrame используй onLoad я чтото запарил
но хотя будет работать в обоих случаях
rojok-online
08.11.2003, 04:02
opex
спасиб :)) стукни в асю :)
rojok-online
08.11.2003, 04:19
как проскролить поле "text", загр. из билиотеки компонентом?
все в исходнике...
Работает на vBulletin ® версия 3.7.3. Copyright ©2000-2026, Jelsoft Enterprises Ltd. Перевод: zCarot
Copyright © 1999-2008 Flasher.ru. All rights reserved.