Показать сообщение отдельно
Старый 30.11.2004, 16:52
toFlash вне форума Посмотреть профиль Отправить личное сообщение для toFlash Найти все сообщения от toFlash
  № 1  
toFlash
 
Аватар для toFlash

блогер
Регистрация: Oct 2003
Адрес: Калининград
Сообщений: 202
Записей в блоге: 4
По умолчанию Пользовательские компоненты

Не пойму как добавить к пользовательскому компоненту свою иконку, в хелпе нашел вот что:
Цитата:
Adding an icon
You can add an icon that represents your component in the Components panel of the Flash authoring environment.

To add an icon for your component:
Create a new image.
The image must measure 18 pixels square and be saved in PNG format. It must be 8-bit with alpha transparency, and the upper left pixel must be transparent to support masking.

Add the following definition to your component's ActionScript class file before the class definition:
[IconFile("component_name.png")]

Add the image to the same directory as the FLA file. When you export the SWC file, Flash includes the image at the root level of the archive.
Если кто занимался такими вопросами буду благодарен за разъячнения.
Может есть какие нить примеры и тд