Показать сообщение отдельно
Старый 27.10.2006, 13:52
Reijii вне форума Посмотреть профиль Отправить личное сообщение для Reijii Найти все сообщения от Reijii
  № 4  
Ответить с цитированием
Reijii
 
Аватар для Reijii

Регистрация: Apr 2004
Адрес: Харьков, Украина
Сообщений: 463
Отправить сообщение для Reijii с помощью ICQ
а почему не использовать встроенную возможность ?
Код:
setItemIcon () method   

public function setItemIcon(item:Object, iconID:Class, iconID2:Class):void
Sets the associated icon for the item. Calling this method overrides the iconField 
and iconFunction properties for this item if it is a leaf item. Branch items don't
use the iconField and iconFunction properties. 
They use the folderOpenIcon and folderClosedIcon properties. 

Parameters  item:Object — Item to affect.    
 iconID:Class — Linkage ID for the closed (or leaf) icon.    
 iconID2:Class — Linkage ID for the open icon.
__________________
Feсi quod potui, faciant meliora potentes