Форум Flasher.ru

Форум Flasher.ru (http://www.flasher.ru/forum/index.php)
-   ActionScript 1.0/2.0 (http://www.flasher.ru/forum/forumdisplay.php?f=93)
-   -   Скин компонента (http://www.flasher.ru/forum/showthread.php?t=85514)

Serbis 24.09.2006 20:48

Скин компонента
 
Объясните пошагово, как изменить скин компонента, желательно так что бы сохранить исходный скин.

Storm[pfp] 24.09.2006 20:50

какой компонент ?

Serbis 24.09.2006 21:04

Scroll Pane

Storm[pfp] 24.09.2006 21:25

поройся в хелпе флеша (ScrollPane).
Что конкретно надо изменить ?

Nirth 24.09.2006 21:31

Цитата:

поройся в хелпе флеша (ScrollPane).
щас он только шнурки погладит=)

Serbis 24.09.2006 21:32

Прокрутку, сайт оформлен в своем стиле, поэтому прокрутка стандартная не катит.

Хемуль 24.09.2006 21:33

2 Serbis:
http://livedocs.macromedia.com/flash.../00002768.html
Как ни удивительно, Google до сих пор в моде...

Storm[pfp] 25.09.2006 02:10

Вложений: 3
вот указание из хелпа
Цитата:

Create a new FLA file.
Select File > Import > Open External Library, and select the HaloTheme.fla file.
This file is located in the application-level configuration folder. For the exact location on your operating system, see About themes in Using Components.

In the theme's Library panel, expand the Flash UI Components 2/Themes/MMDefault folder and drag the ScrollBar Assets folder to the library for your document.
Expand the ScrollBar Assets/States folder in the library of your document.
Open the symbols you want to customize for editing.
For example, open the ScrollTrack symbol.

Customize the symbol as desired.
For example, draw a black rectangle in the middle of the track using a 1 x 4 rectangle at (8,0).

Repeat steps 5-6 for all symbols you want to customize.
For example, draw the same line on the ScrollTrackDisabled symbol.

Click the Back button to return to the main timeline.
Create an input type TextField instance on the Stage.
Drag a UIScrollBar component to the TextField instance.
Select Control > Test Movie.
чтобы увидеть изменения, в тех клипах что ты исправлял цвета поставь еще один linkage (см. картинку)

trigger 12.03.2007 13:55

Цитата:

Сообщение от Storm[pfp]
вот указание из хелпа

Подскажите как в компоненте ScrollPane сделать невидимой или удалить рамку. Копался в HaloTheme.fla, в ScrollBarr Assets можно изменить вид линеек прокрутки, а редактирование Border Assets ни к чему не приводит.

vic_ 12.03.2007 15:42

scrollPane.borderStyle="solid"; - тонкая рамка
scrollPane.borderStyle="none"; - вообще без нее

trigger 12.03.2007 16:16

Спасибо, то что надо!

Но все же любопытно, как сделать произвольные бордеры?

vic_ 12.03.2007 16:19

надо в хелп заглянуть,
Creating a custom RectBorder implementation

uin23 21.05.2007 12:50

Creating a custom RectBorder implementation
 
У меня такая же проблема
читал "Creating a custom RectBorder implementation", Комментарии на http://livedocs.adobe.com/flash/8/ma...=00003950.html
но все равно рамки не изменяются. Может кто подкинет работающий исходник?


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

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