开发者

Question about VideoPlayer's skin VideoPlayerSkin

开发者 https://www.devze.com 2023-03-28 03:53 出处:网络
When I add a VideoPlayer control to my flex project, I didn\'t assign a skinclass to it. So, how does flashbuilder apply the VideoPlayerSkin.mxml to VideoPlayer?

When I add a VideoPlayer control to my flex project, I didn't assign a skinclass to it. So, how does flashbuilder apply the VideoPlayerSkin.mxml to VideoPlayer?

Thanks for your reply开发者_运维知识库.


If I understand your question correctly, inside your skin class, VideoPlayerSkin.mxml, you need the following:

<fx:Metadata>[HostComponent("components.VideoPlayer")]</fx:Metadata>
0

精彩评论

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

关注公众号