简体   繁体   English

如何创建自定义Flex 4组件

[英]How to create custom Flex 4 components

I've created a extended Scroller component based on Spark Scroller... (only AS3 Code/no MXML) 我已经基于Spark Scroller创建了扩展的Scroller组件...(仅AS3代码/无MXML)

the neu component is list on the component library on the left window of flash builder in the custom section... neu组件在自定义部分的Flash Builder左侧窗口的组件库上列出...

  1. how can i change the section to a own section 我该如何将部分更改为自己的部分
  2. how can i replace the icon of the component 我如何更换组件的图标
  3. when I drag the component into the stage, it has a size of (100,0) Pixel... if I drag the original Scroller to the stage... there pops up a dialog for customize the scroller-size.... how can I predefine the size? 当我将组件拖动到舞台上时,它的大小为(100,0)像素...如果我将原始Scroller拖动到舞台上,则会弹出一个对话框以自定义滚动条的大小。如何预定义尺寸? or create a dialog by dropping my component? 或通过删除组件来创建对话框?

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM