开发者

Flex skinnableDatacontainer not the owner of the itemrenderer?

I have a skinnableDataContainer that I extended with some properties that I would like to use in my itemRenderer.

When I try to call (from the itemrenderer)

extended_SkinnableDataContainer(owner).myProperty

I get an error stating that owner is a List and开发者_运维百科 cannot be converted to extended_skinnabledatacontainer

Is the owner not the hostComponent?

Or is the hostComponent just something completely different?


I'm stupid, the owner IS the hostComponent, I was however still working with a debug version (where I used a list component to test the renderer)

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜