Цитата:
Сообщение от heat
мне нужен аналог как LivePreview так и аналог Custom UI.
Гуглил, гулгил ничего найти не смог.
Но факт, что когда выносишь на поляну Grid, то выскакивает фомочка задания кол-ва строк/столбцов. Но как такое сделать в своем компоненте - ума не приложу.
|
Есть класс UIComponentGlobals и у него есть флаг designMode

Код AS3:
/**
* A global flag that can be read by any component to determine
* whether it is currently executing in the context of a design
* tool such as Flex Builder's design view. Most components will
* never need to check this flag, but if a component needs to
* have different behavior at design time than at runtime, then it
* can check this flag.
*/
public static function get designMode():Boolean
{
return mx_internal::designTime;
}
Тест можно скачать тут.
http://www.anychart.com/blog/2008/02...-3-components/
Also, я пользуюсь Design Mode и в принципе им доволен.