`
文章列表
转载 http://riaoo.com/?p=1970 来自Y.Boy's Blog

博客搬家

决定把博客搬到csdn上去
转 [AS3] Serializing Bitmaps (Storing BitmapData As Raw Binary/ByteArray) http://www.ghostwire.com/blog/archives/as3-serializing-bitmaps-storing-bitmapdata-as-raw-binarybytearray/ [AS3] Serializing A Bundle Of Bitmaps As Data Objects http://www.ghostwire.com/blog/archives/as3-serializing-a-bundle-of ...

xml to binary

转两篇不错的关于xml压缩成binary的文章 http://www.ghostwire.com/blog/archives/as3-saving-xml-as-binary/ http://www.ghostwire.com/blog/archives/as3-simple-editor-for-loading-and-saving-xml-as-binary/
pureMVC在线api http://puremvc.org/pages/docs/AS3/standard/framework_asdoc/index.html?org/puremvc/as3/patterns/facade/Facade.html&org/puremvc/as3/patterns/facade/class-list.html bulkload在线api http://media.stimuli.com.br/projects/bulk-loader/docs/index.html?br/com/stimuli/loading/BulkProgressEvent. ...
AS3 Data Structures For Game Developers (AS3DS) http://lab.polygonal.de

地图滚动

http://www.emanueleferonato.com/2010/09/21/create-a-flash-game-like-pixel-purge-step-1-player-movement/
iteye的博客太难编辑了,改天要换个地方了。 最近在研究45度地图,写了一个demo, 主要的类有两个,第一个,人物控制的类 package view { import com.friendsofed.isometric.IsoObject; import constVars.Directions; import flash.display.Bitmap; import flash.display.BitmapData; import flash.display.DisplayObject; import flash.display.Sprite; ...
3D引擎 Papervision3Dhttp://blog.papervision3d.org/ Away 3D http://www.away3d.com/ Sandy 3D http://www.flashsandy.org/ Alternativa Platform http://blog.alternativaplatform.com/en/ FIVe3D http://five3d.mathieu-badimon.com/ WireEngine3D (we3d) – A lightweight and fast 3D Engine for Flash 8/9. http://osfl ...
m_container.graphics.beginFill(0x000000,0); m_container.graphics.drawRect(0, 0, 215, 275); m_container.graphics.endFill(); this.addChild(m_container); m_container.addEventListener(MouseEvent.MOUSE_OVER, onOverHandler);
创建对象池的代码如下: import flash.display.DisplayObject; public class SpritePool { private var pool:Array; private var counter:int; public function SpritePool(type:Class,len:int) { pool = new Array(); counter = len; var i:int = len; while (--i > -1) { pool ...
在for循环里删除原始,也要修改下标值,下面的代码演示不更新下标植变量出现的情况: var numbers:Array=new Array(4,10); numbers[4]=1; trace(numbers);//显示:4,10,undefined,undefined,1 for(var i:int=0;i<numbers.length;i++){ if(number[i]==undefined){ numbers.splice(i,1); } } trace(numbers);//显示:4,10,undefined,1 上面的代码本来是期望删除全部undefined ...
https://www.elance.com
代码如下 public static function setEmbedFontsTextFormat(size:Object, color:Object, bold:Object, font:String = EMBEDED_FONT_NAME):TextFormat { var textFormat:TextFormat = new TextFormat(); textFormat.size = size; textFormat.bold = bold; textF ...
MOUSE_LEAVE - 当光标离开舞台时触发(stage.addEventListener(Event.MOUSE_LEAVE,leaveHandler);)
Global site tag (gtag.js) - Google Analytics