Flex回调函数应用示例(回调函数的英文单词是)速看

随心笔谈9个月前发布 admin
81 0

xmlns:s=”library://ns.adobe.com/flex/spark”

xmlns:mx=”library://ns.adobe.com/flex/mx” width=”100%” height=”100%”>

import flash.external.ExternalInterface;

import flash.system.Security;

import mx.controls.Alert;

import mx.events.FlexEvent;

public var callBackInfo:String=””;

public function doSend():void{

var call:FlexApp=new FlexApp(“Hello”,callBack);

}

public function callBack(info):void{

Alert.show(info);

}

]]>

© 版权声明

相关文章