摘要: AS3中, 对布尔值的转换, 规定所有的非空字符串都是true. 下面都不行: var f:Boolean = new Boolean(str); var f:Boolean = str as Boolean; AS3中String转换成, 最可靠的方法是: var s:String="true"; 阅读全文
posted @ 2017-11-30 09:49 我是cdt 阅读(165) 评论(0) 推荐(0)
摘要: 加密算法方式: https://www.cnblogs.com/wei2yi/p/3484170.html AES (Advanced Encryption Standard) DES(Data Encryption Standard) 加密模式: http://blog.csdn.net/incl 阅读全文
posted @ 2017-11-28 10:21 我是cdt 阅读(137) 评论(0) 推荐(0)
摘要: 阅读全文
posted @ 2017-11-24 16:41 我是cdt 阅读(323) 评论(0) 推荐(0)
摘要: 方法一:(显式允许new一次) package { import flash.errors.IllegalOperationError; import flash.events.EventDispatcher; import flash.utils.Dictionary; import flash. 阅读全文
posted @ 2017-11-24 14:39 我是cdt 阅读(172) 评论(0) 推荐(0)
摘要: sdk替换目录:(根目录根据安装目录) 构建路径,添加swc swf调试选项。没必要html swf运行配置 新建air 新建 actionscript项目 选air 发布exe 文件 导出 exe发行版本 选第三个运行时 ①修改字体颜色、粗体、斜体、下划线 英文版:windows-preferen 阅读全文
posted @ 2017-11-22 18:04 我是cdt 阅读(445) 评论(0) 推荐(0)
摘要: 问题我要在应用程序中载入其他域的swf文件,并且允许它访问程序中的 ActionScript 解决办法使用flash.system.Security.allowDomain( ), flash.system.Security.allowInsecureDomain( ),或 一个政策文件。 很多情况 阅读全文
posted @ 2017-11-18 15:23 我是cdt 阅读(144) 评论(0) 推荐(0)
摘要: 為了要做出比Button物件更複雜的互動,我們通常會改用MovieClip來製作按鈕。如此一來,就需要處理event handler。與滑鼠有關的MovieClip event handler包括onMouseDown、onMouseUp、onPress、onRelease、onReleaseOut 阅读全文
posted @ 2017-11-14 11:09 我是cdt 阅读(385) 评论(0) 推荐(0)
摘要: 粉色文字为要放入推荐程序列表中的程序名,红色文字为程序的实际路径 解决方法:开始/运行/输入regedit/回车,找到这个文件夹“HKEY_CLASSES_ROOT\Applications\WinRAR.exe\shell\open\command”,右击名称为“默认”的注册表项,修改其值为正确的 阅读全文
posted @ 2017-11-10 11:30 我是cdt 阅读(419) 评论(0) 推荐(0)
摘要: /** Loader 取消加载**/ function closeQueueLoader():void { if (cur_loader && cur_loader.contentLoaderInfo.bytesLoaded != cur_loader.contentLoaderInfo.bytes 阅读全文
posted @ 2017-10-31 16:48 我是cdt 阅读(162) 评论(0) 推荐(0)
摘要: as3原生不支持gif动态图 loader 加载gif ,内容只是以bitmap加载进来 需要动态,另外衍生类: https://files.cnblogs.com/files/dt1991/GifLoader.rar 阅读全文
posted @ 2017-10-31 13:47 我是cdt 阅读(232) 评论(0) 推荐(0)