如何在 Flex 中将 upSkin、downSkin、overSkin 等皮肤设置为 Accordion?
在我的项目中我使用了 Accordion 。如果我将皮肤添加到手风琴那么错误?但我尝试过,
<mx:Accordion borderStyle="solid" width="212" height="346" upSkin="@Embed(source='image/UPDATE.png')" >
但显示错误,例如无法解析组件类型 mx.containers.Accordion 的属性“upSkin”。如何在 Flex 中将 Overskin、downskin、upskin 添加到 Accordion 中?请推荐我
In my project i used Accordion . if i add skin to Accordion then so error ? but i tried like
<mx:Accordion borderStyle="solid" width="212" height="346" upSkin="@Embed(source='image/UPDATE.png')" >
But shows error like Cannot resolve attribute 'upSkin' for component type mx.containers.Accordion. how can i add overskin,downskin,upskin to Accordion in flex ? please refer me
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
手风琴没有“upskin”属性来解释您遇到的错误。以下示例展示了如何创建一个非常自定义的手风琴,它应该使您能够实现您想要的效果,http://dougmccune.com/blog/2007/09/22/nifty-flex-accordion-menu-like-on-applecom/
这个例子在另一个堆栈溢出答案中被引用,
flex 3 手风琴组件和圆角
There is no "upskin" property for an accordion which explains the error you are getting. The following example shows how you can create a very custom accordion which should enable you to achieve the effect you desire, http://dougmccune.com/blog/2007/09/22/nifty-flex-accordion-menu-like-on-applecom/
This example was referred to in another stack overflow answer,
flex 3 accordion component and rounded corners