as3 flash_51CTO博客
Adobe 官方性能优化文档,很全面,非常好! http://help.adobe.com/zh_CN/as3/mobile/index.html   http://www.rozengain.com/blog/2007/05/01/some-actionscript-30-optimizations/ 【Flash性能优化的一些细节概要:,是否在没有必要的时候做了无用功
转载 精选 2011-10-20 13:08:22
827阅读
Code highlighting produced by Actipro CodeHighlighter (freeware) http://www.CodeHighlighter.com/ -->private function hideright():void { var maodage:ContextMenu=new ContextMenu ;/*使用构造函...
flash安全沙箱 最开始最大的困难就是不知道脚本和动画如何联系起来,其实很简单,先建个flash (as3)文件,保存为ConnectSrv.fla(名字自己起),再建一个同名的as3文件,保存为ConnectSrv.as ,然后在ConnectSrv.fla 的界面上“属性面板“有个文档类:里面添上ConnectSrv就把动画和脚本联系起来了。
原创 2008-10-29 01:45:59
4045阅读
2点赞
4评论
Flash AS3 and AVM2: Performance Tuning Publish at Scribd or explore others: How-to-Guides & Manu Education Technology-Internet
转载 2009-04-15 13:17:00
61阅读
2评论
   刚刚写了个元件左右拖动demo,记录一下,以便后续查看。是通过startDrag()这个方法来进行元件拖动的。    通常默认直接使用mc.startDrag()方法来进行拖动。以下为adobe官方的api:startDrag()方法public       function       s
原创 2013-06-09 11:25:17
3108阅读
package{ import flash.display.*; import flash.events.*; import flash.net.*; import flash.filters.*; import fl.motion.AdjustColor; public class LoadImg extends MovieClip { var filterBW:Array;//黑
转载 精选 2013-07-26 13:36:52
1223阅读
function Yuan(r:Number ,ang:Number):Sprite { var s:Sprite=new Sprite();//容器画板 var m:Matrix=new Matrix(); m.createGradientBox(2*r,2*r,ang);//矩阵填充盒 s.graphics.beginGradientFill(GradientType.LINEAR,[0xff0000,0x000000], [1,1],[0,255],m); s.graphics.drawCircle(r,r,r); s.graphics.e...
转载 2012-02-03 17:41:00
79阅读
2评论
判断当前版本是否高于9.0.115.0为例子.
转载 2008-08-16 19:03:00
80阅读
2评论
[code="java"]package{ import adobe.utils.CustomActions; import flash.display.Sprite; import fla
原创 2023-02-22 09:17:34
196阅读
关于FLASH AS3中,Loader,UILoader,URLLoader的区别:Loader:专门用于加载swf或图片等显示对象。URLLoader:专门用于加载xml或txt等文本文件,你也可以用他来加载图片,但是没法显示。UILoader:最试用加载图片对象,与Loader相比,有如下优点:(1)可以实时使用percentLoaded 属性确定已加载内容的多少;使用 com...
原创 2023-02-22 09:24:13
76阅读
一:WebBase能做
原创 2021-07-20 16:47:25
94阅读
转载:http://sean.huanglijiang.com/article.asp?id=125 //载入图片     public function loadClassBgPic():void     {       //载入图片没有完毕  &#16
转载 精选 2010-04-29 17:24:59
1504阅读
package com.sunxinzhe.display { import flash.display.Bitmap; import flash.displ
转载 2011-03-18 11:53:00
137阅读
2评论
1、AS3的强制类型转换我之前一直以为是没有这个功能的,而最近在看一些文档,发现这个功能是有的。目前总结下来有两种写法:var loader:URLLoader = URLLoader(event.target);不知道这种写法是借鉴那种编程语言,反正我没有见过。补充这个语法说明:http://livedocs.adobe.com/flash/8_cn/main/00001211.htmlvar loader:URLLoader = event.target as URLLoader;这种写法是借鉴VB.Net编程语言,唉!AS3语法真得一个大杂烩。2、URLStream和URLLoaderU
转载 2012-08-04 22:41:00
54阅读
2评论
as3swf as3swf is a low level Actionscript 3 library to parse, create, modify and publish SWF files. Alpha version, under active development. Please do not use in production just yet. as3swf is broug
as3
原创 2012-07-23 18:26:44
452阅读
FROM : http://webchain.oreilly.tw/boohover/curriculum/
转载 2011-03-01 13:39:00
66阅读
ocalToGlobal(x=0, y=0);this.loaderInfo.width550;this.loaderInfo.content.stage.width1367;this.loaderI
原创 2023-04-10 10:48:03
85阅读
经过测试,如果设置TextField的在xy(0,0),TextFieldAutoSize.LEFT就是左上角固定在原点,向右和下调整,如果还设置了width,就只能向下调整;对于center就比较郁闷,它会按照之前的对象的中点做为相对点来向四边调整;
原创 2023-04-10 10:32:44
29阅读
as3.0写法,舞台上有
原创 2023-04-07 08:34:46
186阅读
loaderInfo.loaderURL
转载 2009-11-19 17:31:00
89阅读
2评论
  • 1
  • 2
  • 3
  • 4
  • 5