flex 布局的问题 去掉边框
commpent
<?xml version="1.0" encoding="utf-8"?>
<mx:Canvas xmlns:mx="http://www.adobe.com/2006/mxml"
creationComplete="initApp()" backgroundDisabledColor="#EEC6C6"
borderStyle="solid" cornerRadius="20" >
<mx:TextInput borderStyle="solid" borderSides="left right" id="txt" width="100" cornerRadius="14" />
<mx:LinkButton id="mybutton" width="18" click="img_click_fun()" icon="@Embed(source='../aaa/search.png')" x="98" />
</mx:Canvas>
app.mxml
<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml"
layout="absolute" xmlns:local="*" backgroundColor="#00000">
<commp:seca backgroundColor="#FDFBFB" borderStyle="solid" cornerRadius="20" width="130" />
</mx:Application>
file:///C:/Documents%20and%20Settings/use11/%E6%A1%8C%E9%9D%A2/Test_seachr.swf
相关文档:
Top 10 things new Flex developers should know
By Michael Portuesi | Published: November 27, 2009
While helping a coworker get started with Flash and Flex development, I thought it would be a good time to cover the list of things that I have found pretty essential to know about Flex development, co ......
Flex中的本地共享对象--SharedObject
本地共享对象有时被称作“Flash Cookie”,它是一个数据文件,可以由所访问的站点在您的计算机上创建。在Flash中提供了下面的操作本地对象的方法:
SharedObject.clear() 删除本地共享对象;
SharedObject.flush() 立即把共享对象数据写入本地文件;
SharedObject.getLoc ......
themeColor 主题颜色:如果对色彩样式配置不想过多的去设置的话,themeColor是一个选择。它可
以让你选择一种基本色彩,然后组件的边框,外观等色彩将会以此色彩为基础构成一组缺省的样式,组件均可使用此样式属性。
Application组件样式属性
backgroundImage &n ......
<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute" creationComplete="myInit()">
<mx:Script>
<![CDATA[
import flash.events.*;
import flash.net.URLRequest;
import flash.me ......