2018年8月6日

as3.0 橡皮功能2

摘要: package com{ import flash.display.MovieClip; import flash.display.Bitmap; import flash.display.BitmapData; import flash.display.SimpleButton; import flash.events.MouseEvent; i... 阅读全文

posted @ 2018-08-06 15:33 zqiang0803 阅读(254) 评论(0) 推荐(0) 编辑

2018年8月3日

as3.0视频的快进有拖动条

摘要: package com{ import flash.display.MovieClip; import flash.events.MouseEvent; import fl.video.FLVPlayback; import fl.video.MetadataEvent; import flash.events.AsyncErrorEvent; i... 阅读全文

posted @ 2018-08-03 12:02 zqiang0803 阅读(423) 评论(0) 推荐(0) 编辑

2018年7月25日

flash as3.0 截图保存图片

摘要: import flash.display.MovieClip; import flash.events.MouseEvent; import flash.filesystem.*; //////////////分享//////////////////////////// import flash.display.BitmapData; import flash.display.Bitmap... 阅读全文

posted @ 2018-07-25 17:14 zqiang0803 阅读(411) 评论(0) 推荐(0) 编辑

2018年7月19日

flash Air 在同一个目录下面创建txt,写入字

摘要: import flash.filesystem.*; var file:File=new File(File.applicationDirectory.nativePath + '/HelloWorld.txt'); var stream:FileStream = new FileStream() stream.open(file, FileMode.WRITE); var str:Stri... 阅读全文

posted @ 2018-07-19 16:36 zqiang0803 阅读(175) 评论(0) 推荐(0) 编辑

2018年6月30日

视频加载播放暂停切换

摘要: package com{ import flash.display.MovieClip; import flash.net.NetConnection; import flash.net.NetStream; import flash.events.AsyncErrorEvent; import flash.events.MouseEvent; i... 阅读全文

posted @ 2018-06-30 10:41 zqiang0803 阅读(396) 评论(0) 推荐(0) 编辑

2018年6月12日

as3.0去除空格

摘要: FouthFrame.answerArr[j] = FouthFrame.answerArr[j].replace(/([ ]{1})/g,""); FouthFrame.answerArr[j] = FouthFrame.answerArr[j].replace(/,/g,""); Fouth... 阅读全文

posted @ 2018-06-12 15:11 zqiang0803 阅读(814) 评论(0) 推荐(0) 编辑

获取txt里面的内容

摘要: import flash.net.URLLoader; import flash.net.URLRequest; import flash.events.Event; var txtLoad:URLLoader = new URLLoader(); //txt.txt文本以UTF-8的编码保存。 var txtURL:URLRequest = new URLRequest("txt.txt")... 阅读全文

posted @ 2018-06-12 14:04 zqiang0803 阅读(324) 评论(0) 推荐(0) 编辑

声音的加载,播放,暂停

摘要: package com{ import flash.display.Sprite; import flash.media.Sound; import flash.net.URLRequest; import flash.display.MovieClip; import flash.media.So 阅读全文

posted @ 2018-06-12 10:21 zqiang0803 阅读(166) 评论(0) 推荐(0) 编辑

2018年4月26日

获取标签as3.0

摘要: import flash.utils.Timer; import flash.events.TimerEvent; var time:Timer=new Timer(25); time.addEventListener(TimerEvent.TIMER,timerFun); time.start(); function timerFun(e:TimerEvent) { trace(thi... 阅读全文

posted @ 2018-04-26 11:21 zqiang0803 阅读(214) 评论(0) 推荐(0) 编辑

2018年4月20日

在timer的时候突然改变影片简介,先前的不暂停

摘要: import flash.display.MovieClip; import flash.utils.Timer; import flash.events.TimerEvent; var hinderArr:Array=[]; for (var i:uint =1; i<=3; i++) { var ClassReference:Class = getDefinitionByName("... 阅读全文

posted @ 2018-04-20 16:09 zqiang0803 阅读(159) 评论(0) 推荐(0) 编辑

导航