actionscript 3.0中的样式表(默认样式声明)语法

时间:2013-02-20 07:35:41

标签: actionscript-3 styles stylesheet

问题是关于点形成的语法。我想以默认列表样式分配我的自定义ItemRenderer但尚未成功。

  

.myList
{
itemRenderer:com.examples.components.StyleClassRenderer;
}

和其他一些尝试(“com.exam ...”,“com.exam ...”)格式对我没有用。
在actionscript帮助网页{{ 3}},
找不到任何合适的解决方案。对于您的解决方案建议,我将非常感谢。

编辑:通过以下解决方案动态分配
list.itemRenderer             = new ClassFactory(com.examples.components.StyleClassRenderer);
但我想在样式声明中学习如何做。

0 个答案:

没有答案