摘要: private function OnTimerTick(event:TimerEvent):void { try{        if(imageBuffer.length<5) return; if(picIndex==URLList.length) { picIndex=0; } if(this.te... 阅读全文
posted @ 2010-11-08 16:34 Vincent's code 阅读(429) 评论(0) 推荐(0) 编辑
摘要: 事件抛出 protected function FileList_changeHandler(event:ListEvent):void{// 当用户点击列表中的数据项后,抛出加载影像的请求var evt:LoadImageEvent=new LoadImageEvent(LoadImageEvent.EVENT_LOADIMAGE); evt.URL=URLList.getItemAt(event.rowIndex).toString();this.dispatchEvent(evt);}2.事件定义package com.gw.events{import flash.events.Even 阅读全文
posted @ 2010-11-08 16:33 Vincent's code 阅读(236) 评论(0) 推荐(0) 编辑