新建=》外观 里面名字写你的 然后在主机组件里面写上Button的包路径,完成就可以了。里面是可以视图化的MXML文件。修改比较方便。
ToggleButtonBar
{
horizontalGap: 0;
button-style-name: "buttons";
}
.buttons
{
selected-up-skin: Embed(source="assets/toggleButton.png");
selected-over-skin:Embed(source="assets/toggleButton.png");
selected-down-skin: Embed(source="assets/toggleButton.png")
}
简单的写
togglebuttonbar是mx的控件,没有像s:button那样类似的皮肤。
或许你可以试一下使用s:tabbar / buttonbar + 自定义皮肤
Photoshop|
Dreamweaver|
SVG|
WebGL|
Visual Studio|
PowerDesigner|
Eclipse|
Git|
Apache Ant|
Atom|
Composer|
CodeSmith|
Flex|
Gradle|
Maven|
Sublime Text3|
SVN|
Tableau|
Vim|
Chrome开发者工具|
OpenGL|
Unity|
Direct3D|
用户登录
还没有账号?立即注册
用户注册
投稿取消
文章分类: |
|
还能输入300字
上传中....