易截截图软件、单文件、免安装、纯绿色、仅160KB

Flex Alert


<?xml version="1.0"?>  
<!-- Simple example to demonstrate the Alert control. -->  
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml">  
  
    <mx:Script>  
        <![CDATA[  
            import mx.controls.Alert;  
            import mx.events.CloseEvent;  
          
            // Event handler function uses a static method to show  
            // a pop-up window with the title, message, and requested buttons.          
            private function clickHandler(event:Event):void {  
                Alert.show("Do you want to save your changes?", "Save Changes", 3, this, alertClickHandler);  
            }  
          
            // Event handler function for displaying the selected Alert button.  
            private function alertClickHandler(event:CloseEvent):void {  
    


相关文档:

FLEX容器的布局规则

FLEX中所有的布局都需要容器。<mx:Application>标签实际上就是一个容器。每个容器都有一定的规则来确定子元素的排列方式,也就是本文讨论的FLEX容器布局规则。
VBox
子元素沿垂直方向排列。每个子元素都会绘制在前一个子元素的下方。
HBox
子元素沿水平方向排列。每个子元素都会绘制在前一个子元素的右方。
Canv ......

关于flex和spring+hibernate整合web.xml的错误

flex和spring+hibernate整合完成后web.XML出现如下错误
The content of element type "web-app" must match "(icon?,display-name?,description?,distributable?,context-param*,filter*,filter-mapping*,listener*,servlet*,servlet-mapping*,session-config?,mime-mapping*,welcome-file-list?,error-page*,taglib*,reso ......

flex 保存成pdf 文件格式

<?xml version="1.0" encoding="utf-8"?>
<mx:Application  xmlns:mx="http://www.adobe.com/2006/mxml" width="100%" height="100%"
     viewSourceURL="srcview/index.html" backgroundColor="0x000000" layout="absolute">
 
    <mx:Script>
&nb ......

flex小错误(常记多做)

1、假如一个自定义控件被用在一个主控件里,在自定义控件里的方法可以转换为主控件的方法,完成调用。
userRulesCanvas.mxml 和 editRulesCanvas.mxml
compent控件代码如下:
private function submitClick():void
            {
        ......
© 2009 ej38.com All Rights Reserved. 关于E健网联系我们 | 站点地图 | 赣ICP备09004571号