Blog Archives

flex library very good, wirte flex application 必備

https://github.com/flex-users/flexlib

Posted in AS3

unable to bind to property的解决办法

http://bbs.9ria.com/thread-22017-1-1.html see lower for better solution

Posted in AS3

Flex alert no button, answer 2 work

http://stackoverflow.com/questions/666317/disable-yes-button-in-flex

Posted in AS3

[flex] drag drop using list, very quick dev!

http://help.adobe.com/en_US/flex/using/WS2db454920e96a9e51e63e3d11c0bf69084-7cfd.html#WS7d89194359d2921c55a0a0ac1247d0abc10-8000

Posted in AS3

Learn cairngorm, framework of flex

http://erinylin.blogspot.com/2008/12/flex-cairngorm.html

Posted in AS3, 編程

why SwiftSuspenders and use Inject

http://cookbooks.adobe.com/post_Custom_metadata_in_three_simple_steps_-11907.html

Posted in AS3, 編程

Embed movieClip in flex, on9, u will get error

//[Fault] exception, information=TypeError: Error #1034: Type Coercion failed: cannot convert tex_main_menu@6921e21 to flash.display.MovieClip. solution 1 : use sprite or solution 2 : add one more frame in sprite , then it is movieClip http://chrismweb.com/2011/03/20/problems-with-embedding-swfs-in-actionscript-or-flex/

Posted in AS3

[robotlegs][flex] capture the event in command , so i can get the data which is bring by event

http://knowledge.robotlegs.org/discussions/questions/163-mediator-passing-event-to-command-is-null

Posted in AS3

study 下 swiftsuspenders [as3][flex]

http://www.tillschneidereit.de/2009/09/21/introducing-swiftsuspenders/

Posted in AS3

FLEX module的使用(转载)

1 ModuleLoader组件概述 1.1Module技术简介 flex的Modules技术是可以被flex程序使用的一个swf文件,它不能脱离程序独立运行,但是多个程序之间可以共享它。 flex的Modules技术将应用程序分割成小块、模块,主程序动态的加载所需要的模块。主程序在启动时并不全部加载所有的模块。当用户和模块没有交互的时候它不需要加载模块,同时它在模块不需要的时候可以卸载模块并释放内存和资源。[1] flex的Modules技术主要有如下的优点: 让swf文件初始下载尺寸更小 让加载时间更短 对应用程序更好的封装性 1.2ModuleLoader组件功能 ModuleLoader组件是一种可视化的组件,方便开发人员在运行期间动态地加载和卸载module。 注:加载:从服务器下载到浏览器中 1.3 ModuleLoader类的继承关系 包:mx.modules[2] ModuleLoaderInheritanceVBoxInheritanceBoxInheritanceContainerInheritanceUIComponent 注:ModuleLoader类暂无spark组件 相关类: * IModuleInfo – module接口,所有的module都实现了此接口,可以提供module信息,比如url 和 加载状态。 * Module – 基于MXML的module的基类 * ModuleBase –基于ActionScript的module基类 * ModuleManager –一个系统只有一个此类,用于管理所有动态加载的module * ModuleEvent – module相关事件 1.4 相似组件

Posted in AS3

Flex, Mate, Modules and GC – another approach

http://mate.asfusion.com/forums/topic.php?id=410

Posted in AS3

Dump for as3

http://qops.blogspot.com/2007/06/dump-as3.html

Posted in AS3

When to new your model?

http://joelhooks.com/2011/03/12/an-introduction-to-robotlegs-as3-part-2-models/ you dun need actually public class AuthorModel extends Actor { private var _list:Array; public function get list():Array { if(!_list) initializeList(); return _list; } protected function initializeList():void { var twain:Author = new Author(“Twain”); var poe:Author = new Author(“Poe”); var plato:Author

Posted in AS3

solve module load in flex, getStyle problem

Flex App 直接引用外部 Module 的問題 最近同事遇到一個 Flex 問題,只要 Module 內放了其它組件 執行就會出現各種奇怪 Error 後來發現是因為在 Main Application 直接引用編譯到 Module Class 然後又企圖用 ModuleLoader 再載入一次相同的 Module SWF 當然這樣做是錯誤的範例,Flash Builder 也會給予警告 Warning: Mod is a module or application that is directly referenced. This will cause

Posted in AS3

robotlegs in module, 3 種方法解決

1. http://joelhooks.com/2010/05/02/modular-robotlegs/ 裝呢個 addon, 共用同一個 injector, 但不能使用 module loader min code of this method http://blog.yoz.sk/examples/ModularRobotlegs/srcview/ 2. http://labs.riamore.com/content/robotlegs/examples/dynmodules 可以 dynamic 了,但其實是將 module 的 applicationDomain hardcore 同 mainApp 一樣 3. http://ticore.blogspot.com/2011/10/robotlegs-module-issue.html 一人一個獨立 robotlegs,但要 hack 少少 code 先做到,其實都係 override 下 je

Posted in AS3

asynchronous-processes-and-robotlegs [READ pls]

http://alecmce.com/library/asynchronous-processes-and-robotlegs

Posted in AS3

change the stupid namespace from flashdevelop default template of mx

xmlns:mx=”library://ns.adobe.com/flex/mx” It state is halo, if u dun change or u cannot use canvas blah blah blah

Posted in AS3

get URL by loaderInfo or BrowserManager

http://flexperiential.com/2010/05/06/browsermanager-returns-null/ for loaderInfo , pls see the comment

Posted in AS3

flex 3 in flex 4

http://cnx.org/content/m34631/latest/

Posted in AS3

advanced use module in flex, in enterprise scare

http://labs.bsb.com/2011/02/modularity-in-flex-enterprise-applications/

Posted in AS3

compile module with flashdevelop and some tutorial about modules

http://smithfox.iteye.com/blog/827743 http://www.permadi.com/blog/2010/10/using-modules-in-flex-action-script-projects/ flex-modular-application-development-using-cairngorm-architecture http://xebee.xebia.in/2010/10/11/flex-modular-application-development-using-cairngorm-architecture/

Posted in AS3

using flashdevelop to compile module

http://www.ghostwire.com/blog/archives/compiling-module-swfs-using-flashdevelop/

Posted in AS3

Flex Problem

急急。。。Flex4 Module中不能Alert? http://bbs.airia.cn/thread-10383-1-1.html ModuleLoader.loadPolicy http://www.tink.ws/blog/flex-4-modules/ A flex code example using module http://www.riameeting.com/examples/parsley_module/srcview/index.html Create an ActionScript-Based Module http://mijimiji.com/blog/?p=54

Posted in AS3, 無分類

good comment in a flex problem

http://flexbugs.wordpress.com/2010/06/18/flex-4-modules-bug/

Posted in AS3

keep-generated-actionscript -> mxml to as3

http://saravananrk.wordpress.com/2008/05/26/keep-generated-actionscript-in-flex/

Posted in AS3

unload module effectively FLEX

http://blogs.adobe.com/tomsugden/2010/02/how_to_unload_modules_effectively.html

Posted in AS3

[FLEX] modular robotlegs !

http://joelhooks.com/2010/05/02/modular-robotlegs/

Posted in AS3

view states using AS3 only, no mxml

http://www.digitalprimates.net/author/tapper/2006/03/14/creating-view-states-purely-in-as3/

Posted in AS3

flex minimal

http://stackoverflow.com/questions/141288/possible-to-use-flex-framework-components-without-using-mxml

Posted in AS3

as3 funny class as function, use a function to return a Class

http://jacksondunstan.com/articles/398

Posted in AS3

trick on as2

dynamic new a movieClip with init var http://www.jonnyreeves.co.uk/2007/05/movieclips-and-object-scope-in-as2/ WORTH to read, many FAQ about as2 http://www.senocular.com/flash/tutorials/faq/#newmovieclip event receive and dispatch and delegate example http://flash-creations.com/notes/asclass_eventdispatcher.php hope example help http://www.bit-101.com/blog/?page_id=1164 reference will be missed at first explanation http://stackoverflow.com/questions/896335/referencing-movie-clip-class-instances-immediately-in-actionscript-2 EventDispatcher instantiate methods http://archive.darronschall.com/weblog/2004/03/the-many-faces-of-eventdispatcher.html

Posted in AS3

open source as2 compiler

http://www.mtasc.org/

Posted in AS3, 編程

wtf bitmapData

SWF 13+ (Flash Player 11, AIR 3) the practical limit is the amount of memory available. (The theoretical limit to width or height is the largest positive integer — divided by 20 to allow for twips, but you will hit

Posted in AS3

WTF Flex 4.5.1 eat shit SDK for UIComponent

TypeError: Error #2007: Parameter child must be non-null. at flash.display::DisplayObjectContainer/addChildAt() at fl.controls::BaseButton/drawBackground() at fl.controls::LabelButton/draw() at fl.core::UIComponent/drawNow() at fl.controls::ScrollBar/draw() at fl.core::UIComponent/callLaterDispatcher() I know u meet this error i know you read this: http://joshblog.net/2008/02/10/how-to-use-the-flash-cs3-component-set-in-a-flex-builder-actionscript-project/ or this http://de-co-de.blogspot.com/2008/03/wheres-my-skin.html but still cant play the

Posted in AS3

by pass as3 8191px problem

Core Concept : Dun draw in bitmap Example: in urUploader, Thumbnail can over 8191px, loadBytes is according to file size, so if file size too large, yr machine will hang. private function genThumbnail():void { var l:Loader = new Loader(); l.loadBytes(transcodeManager.baAlchemy);

Posted in AS3

alchemy error : if range invalid …

http://forums.adobe.com/thread/37528 Ans: 4. Sep 23, 2010 5:30 AM (in response to boris.reitman) Re: Range Error 1506 when CLibInit.init() Dont init CLibInit twice. Insted use static value to hold it for reuse and refer to it. Worked for me.

Posted in AS3

read write bytearray use in alchemy

http://blog.debit.nl/2009/03/using-bytearrays-in-actionscript-and-alchemy/

Posted in AS3

alchemy gluegen : link C library to as3 :)

http://segfaultlabs.com/devlogs/alchemy-round-two

Posted in AS3

advance alchemy article : about memory

http://bruce-lab.blogspot.com/2011/01/adobe-alchemy-hacks-access-memory-and.html

Posted in AS3

gstate: alchemy memory

http://jasonbshaw.com/?p=183

Posted in AS3

super strong flash guy

http://blog.tweenpix.net/

Posted in AS3

alchemy, libjpeg ref

日文翻譯文,教你裝同 run http://www.4ucode.com/Study/Topic/678551 http://www.4ucode.com/Study/Topic/677284 原文,日文 http://d.hatena.ne.jp/amachang/20081118/1227005285 教你用 libjpeg http://blog.csdn.net/achellies/article/details/4238056 MUST WATCH Blog http://www.websector.de/blog/2009/06/21/speed-up-jpeg-encoding-using-alchemy/ config alchemy http://wiki.zeropointnine.com/?n=FlashPlatform.Alchemy how to include jconfig.h, jpeglib.h … http://forums.adobe.com/message/1059134#1059134 using alchemy to do bubble sort http://blog.comtaste.com/2010/07/adobe_alchemy_a_comparative_ex.html

Posted in AS3

setup alchemy environment

http://blog.flexmaniak.pl/flex-libraries/alchemy/alchemy-installation-guide-for-windows http://labs.adobe.com/wiki/index.php/Alchemy:Documentation:Getting_Started

Posted in AS3

Super strong as3 developer! see his project for some hints to difficult problem

http://segfaultlabs.com/

Posted in AS3

as3 <--> bridge <--> as2

http://www.jumpeyecomponents.com/Flash-Components/Various/ActionScript-Bridge-91/ http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/flash/net/LocalConnection.html http://gskinner.com/blog/archives/2007/07/swfbridge_easie.html

Posted in AS3

flash is suck in urlStream or fileRef.upload

urlStream is always good, it trigger the browser request to server, but very raw and cannot detect the upload progress (no progress event fire during upload) ( cal the speed and use Timer to pretend the progress bar ) but

Posted in AS3, web

URL request in Flash

IE -> 用 domain 做 base-path Firefox, chrome -> 用 swf 個 file 個 location 做 base-path okok, 唔好煩,用死 absolute path, server_url + relative_url 好無 ? Note Update : 用呢個 “.” d swf location 就會係 swf 個個位置

Posted in AS3

as2 or other graphics technique, set Bounds in short code

if (_bounds != undefined) { mc._x = Math.max(_bounds.xMin, Math.min(mc._x, _bounds.xMax)); mc._y = Math.max(_bounds.yMin, Math.min(mc._y, _bounds.yMax)); }

Posted in AS3

as2 can do addEventListener and dispatchEvent too

normal use method: http://flash-creations.com/notes/asclass_eventdispatcher.php package method: http://www.sakri.net/blog/2007/02/20/using-eventdispatcher-in-as2-the-as3-way/

Posted in AS3

[as2] shadow filter in as2

http://www.webwasp.co.uk/tutorials/214/F8-click-by-click/index.php

Posted in AS3

[as2] graphics algorithm in as2

http://www.video-animation.com/mx2k_01.shtml

Posted in AS3, 編程

[as2] kill a mouse event function

_handle_layer.onMouseMove = undefined;

Posted in AS3

[as2] onMouseDown和onMouseUp则不管鼠标在什么地方

http://hi.baidu.com/billypc/blog/item/ccbc97efcb981b212cf5341c.html

Posted in AS3

[as2] some movieClip property you may always need

function resetStartProps():Void { delete _startProps; //Aids in memory management _startProps = {}; var sp = _startProps; var axisPoint_obj = this.axisPoint; var mdx = _targetObject._parent._xmouse – axisPoint_obj.x; //Distance to mouse along the x-axis var mdy = axisPoint_obj.y – _targetObject._parent._ymouse; //Distance to

Posted in AS3, 編程

[as3] quite good tutorial for learning vector, velocity, direction

http://active.tutsplus.com/tutorials/animation/learn-about-linear-kinematics/?utm_source=feedburner&utm_medium=feed&utm_campaign=Feed%3A+Flashtuts+%28Activetuts%2B%29

Posted in AS3

Pushbutton Engine and Haxe: a natural fit

http://dionamago.net/?p=386

Posted in AS3

Zinc, f-in-box 之 Z-drive 之謎?

flash流媒体播放器;讨论以内存流方式播放FLASH的技术 flash流媒体播放器:讨论以内存流方式播放FLASH的技术可行性? 来源: 发布时间:星期三, 2008年9月24日 浏览:44次 评论:0 这样可以实现保护flash文件,而且用flash做界面发布时不要带swf文件,很方便,国外有一个 Control 可以实现,大家一起来讨论一下这样实现的技术方案. 告诉你一个最简单的Method 前面步骤和播放文件一样设置 ShockwaveFlash1.Movie = ‘c:\temp\temp.swf ‘; ShockwaveFlash1.EmbedMovie = True ShockwaveFlash1.Movie = ‘-_-!! ‘; 这样swf就含在窗体文件(dfm)中了 发布的时候不用单独带swf文件 这样是可以了,如果想把一个SWF文件做成资源,启动时再载入怎么实现呢? 创建一个不可见、只能当前句柄的program可访问的虚拟硬盘 [轉載] flashplayercontrol貌似就是以这种方式实现的 虚拟硬盘 这个玩大了 这样就必须用到驱动 flashplayercontrol用驱动不可能吧 反汇编 跟踪 发现真的搞了一个虚拟硬盘,生成了一个临时文件Z:\FromMemory\46A10F369771449587DE913EFC0A258C\1\E4ED7C01D28A43418DBF2CB92CC35E56.swf http://www.plm.hk/Phpgm/archiver/tid-638.html

Posted in AS3, 編程

Optimizing content for Apple iOS devices [其實 d skill desktop version 都用得著]

http://www.adobe.com/devnet/flash/articles/optimize_content_ios.html

Posted in AS3, mobile, 編程

[as3] Unicode range of Flash

睇睇 flex4 sdk / frameworks 裡面 flash-unicode-table.xml

Posted in AS3, 編程

[as3] 唔勁,但可以睇下

http://randomcodescraps.tumblr.com/

Posted in AS3, 編程

Push Button Engine and the console!

http://blog.natebeck.net/2009/11/developing-games-with-pushbutton-engine-using-the-console/

Posted in AS3, 編程

[as3] 畫圖形的 library

tutorial http://active.tutsplus.com/tutorials/actionscript/quick-tip-easy-shape-creation-with-uniqueshape/ Library http://www.libspark.org/wiki/UniqueShape Shape 之一覽 http://whirlpower.net/documents/uniqueshape/document.html   當然可以 extend 佢 d 野 畫d 複雜d 既野~

Posted in AS3, 編程

[box2d][as3] multiple gravity

http://www.emanueleferonato.com/2009/07/17/managing-multiple-gravities-with-box2d/

Posted in AS3, 編程

[box2d][as3] 睇下 tutorial

Beginner 教程 http://langrisser1981.blogspot.com/2008/02/hello-box2d.html http://www.emanueleferonato.com/2010/02/19/box2d-flash-game-creation-tutorial-part-1/ http://plasticsturgeon.com/2010/08/making-an-as3-game-in-box2d-flash-version-2-0-hello-world-box2d/2/ http://www.emanueleferonato.com/2009/07/06/platform-engine-using-box2d/ 直接睇 wiki http://code.google.com/p/pushbuttonengine/wiki/Index?tm=6

Posted in AS3, 編程

[as3] blog, 講 flash games, 幾過癮既

http://plasticsturgeon.com/

Posted in AS3, 編程

box2d as3 的一般 tutorial

http://www.p-boy.cn/?p=473

Posted in AS3, 編程

[web] flv movieplayer for web

http://flowplayer.org/ http://www.longtailvideo.com/players/jw-flv-player/

Posted in AS3, web, 編程

[as3] Copying Timeline Animation into a Class

http://active.tutsplus.com/tutorials/animation/quick-tip-copying-timeline-animation-into-a-class/

Posted in AS3, 編程

[pbe][as3]既然玩緊 push button,就睇埋呢個。

http://pushbuttonlabs.com/

Posted in AS3, 編程

[PBE][AS3] Article Studies

http://www.adobe.com/newsletters/edge/august2010/articles/article6/index.html?trackingid=HRTDN http://www.bukisa.com/articles/228717_making-a-space-invaders-clone-with-pushbutton-the-first-enemy http://www.brighthub.com/hubfolio/matthew-casperson/blog/archive/2010/01/06/pushbutton-engine-tutorials.aspx

Posted in AS3

[pbe] Push Button Engine 入門

http://blog.163.com/free_art/blog/static/14156662009111485516228/

Posted in AS3

[pbe][AS3] Experiment: Using SWF MovieClips in PushButton Engine

http://shikii.net/blog/experiment-using-swf-movieclips-in-pushbutton-engine/

Posted in AS3, 編程

[as3]八個我最常用的AS3開源類庫(轉載)

http://fan.renren.it/a/bianchengyuyan/Flashbiancheng/20100926/38134.html

Posted in AS3

[as3]What can you do with bytes ?

http://www.bytearray.org/?p=711

Posted in AS3

[AIR][AS3] Playing around silent install AIR

Cmd 教你裝 http://stackoverflow.com/questions/821531/how-can-the-adobe-air-installer-itself-require-air 官方教你裝 http://help.adobe.com/en_US/air/build/WS789ea67d3e73a8b22388411123785d839c-8000.html 一炮過 setup.exe http://bishoponvsto.wordpress.com/2010/03/10/deploying-air-application-with-air-runtimeredistributable-in-single-exe/ forum discuss about this http://forums.adobe.com/message/1998708

Posted in AS3, 編程

[adobe] a blog of adobe news

http://www.webkitchen.be/

Posted in AS3, 編程

[as3] readObject, writeObject of ByteArray, good for save 低 d野~

http://ted.onflash.org/2007/11/abcs-of-amf.php

Posted in AS3, 編程

[as3]使用ByteArray做一些基本的檔案保護

http://blog.iamjason.com/2010/08/bytearray.html

Posted in AS3, 編程

[as3] fscommand fix

fscommand(“exec”, “abc.exe”) 呢個你識用啦,將個 abc.exe 放係 fscommand 既 folder 到 好啦,但係好大問題就係 你想入 argument 入去 係唔 work fscommand(“exec”, “abc.exe argu1″),無呢回事 咁點算好! solution: System.setClipBoard(cmd); 再用 C++ 寫個小 program 個 program 就係貼上 clipBoard 既字再 run 咁就乜 seven 都 run 到啦! 唔洗下下用 C++ 自己寫 flash

Posted in AS3, 編程

[as3] 搵左咁耐終於有教,d 網只係教人爆 zip,唔教人 zip 野

FZip http://lucamezzalira.com/2010/04/13/working-with-zip-files-and-flash-platform/ 或者用 nochump http://pradeek.blogspot.com/search/label/nochump

Posted in AS3, 編程

[AS3][JQuery] jotaquery, as3 直 call jquery 既 script

http://code.google.com/p/jotaquery/

Posted in AS3, web, 編程

[as3] Generative Art in Flash

tutorial a href=”http://active.tutsplus.com/tutorials/design/creating-generative-art-with-hype/”>http://active.tutsplus.com/tutorials/design/creating-generative-art-with-hype/ Framework http://www.hypeframework.org/

Posted in AS3, 藝術

[as3] Polygon area calculation

http://ricombination.wordpress.com/2008/11/06/actionscript-3-polygon-area-calculation/

Posted in AS3

[as3] Displacement filter, 可以玩放大,mapping 等等

放大 http://www.emanueleferonato.com/2009/08/12/pure-as3-magnifying-effect-using-displacement-map-filter/ mapping http://www.emanueleferonato.com/2007/12/03/understanding-flash-displacement-map-filter/

Posted in AS3, 編程

[C++][AS3] C++ insert Flash

http://www.n8lm.cn/blog/archives/200910/40/

Posted in AS3, C++

[AS3] Zinc 夾 GAIA, d path 錯曬!

http://www.designdisclosure.com/2009/07/make-mdm-zinc-applications-with-the-gaia-framework-for-adobe-flash/ Solution here~ July 5, 2009 by Alistair Stead in ActionScript, Flash Comments ( 3 ) The Gaia Framework for Adobe Flash is a something I have been using for some time. It is one of the most useful frameworks

Posted in AS3, 編程

[AS3] 似曾相識的錯,tweenlite removeTint re 極都 re 唔到

TweenPlugin.activate([TintPlugin]); TweenLite.to(mc, 1, {removeTint:true}); 我跟足你做,點解有時唔得? TweenPlugin.activate([RemoveTintPlugin, TintPlugin]); funny, 原來有 RemoveTintPlugin =x= PS 我知啦! 原來舊版本先係咁 成日用 gaia framework 又 update 下個 tweenlite =x=

Posted in AS3, 編程

[AS3] Signal 野: Signal VS DeluxeSignal

http://insideria.com/2010/10/an-introduction-to-as3-signals.html 睇左先 up 一大春英文,搞咩,超簡單 signal 係可以 pass parameter,但 pass 個個 object 就係個個 object 囉 DeluxeSignal 就勁啦,係 pass event event signal 都識 pass 啦,咁你就錯 呢個 event 係 as3 d fd,你 pass 左,過到去,有翻曬你以前 event 玩既野 例如 event.currentTaret, event.type, event.target 咁 咁咪開心又興奮囉~

Posted in AS3, 編程

[AS3] 兩個 SWF event 傳黎傳去既方法

你仲想利用個 event 傳data ? mother.addEventListener(CustomEvent.MODULE_CLOSE, onModuleClose) function onModuleClose(e:*):void { var data = e.data; } var data = {a:1, b:"hello"}; swf.dispatchEvent(new CustomEvent(CustomEvent.MODULE_CLOSE, data)); PS 如果要玩 bubbling: 記得 extend 個陣 要 override 埋 clone 呢個 function!

Posted in AS3, 編程

[AS3] Loading SWFs into AIR 1.5.X and LoaderInfo.sharedEvents

http://richardleggett.co.uk/blog/index.php/2009/04/02/loading-swfs-into-air-1-5-and-loaderinfo 我見佢打散個 swf 做 byteArray ,再用 loader 砌翻埋佢

Posted in AS3, 編程

[AS3] GAIA Framework, 自己整 custom attribute for site.xml ,這世界突然美好了。

http://www.dustypixels.com/blog/2010/03/17/gaia-accessing-custom-page-attributes-from-site-xml/

Posted in AS3, 編程

[AS3] 又黎一d framework

Swiz is a framework for Adobe Flex and ActionScript that aims to bring complete simplicity to RIA development. http://swizframework.org/ 話勁過快過 event 既 singal https://github.com/robertpenner/as3-signals

Posted in AS3, 編程

[AS3] Hit on hitTestObject

hitTestObject is always use but do u know: mc.hitTestObject(target) if target.visible = false and target.alpha =0 其實都 hit 中 return true 小心d 啦~ 最好加多個 condition mc.hitTestObject(target) && target.visible

Posted in AS3, 編程

[AS3] SWF Sheet, flash mc -> sequence img format, good for iphone!

http://www.bit-101.com/blog/?p=2939

Posted in AS3, 編程

[AS3] Generate Pdf by AS3 Library

http://alivepdf.bytearray.org/

Posted in AS3, 編程

[AS3] Concept of display list

http://www.oreillynet.com/pub/a/oreilly/digitalmedia/helpcenter/actionscript30cookbook/chapter6.html Highlight : Stage -> Main -> DisplayObject(s) -> …

Posted in AS3, 編程

[AS3][Function]Anonymous, inline, and named functions in ActionScript

what is inline function … http://www.darronschall.com/weblog/2004/08/anonymous-inline-and-named-functions-in-actionscript.cfm

Posted in AS3, 編程

[AS3] Flash Tips (MUST READ)

Flash Tips http://haxe.org/doc/flash/cheatsheet

Posted in AS3, 編程

[AS3] Mac Dock Style Flash

http://jrgraphix.net/r/Flash7_Dock/ read this more happi http://active.tutsplus.com/tutorials/actionscript/create-a-mac-dock-style-menu-with-as3/

Posted in AS3, 編程

[AS3] 搵翻 GAIA 唔洗 FLASH,用 ANT 都得!

http://kevincao.com/2010/03/workflow-robotgaiaant/

Posted in AS3, 編程

[AS3] Flex no MXML using Application

package { import mx.core.Application; import mx.events.FlexEvent; import mx.styles.StyleManager; import mx.styles.CSSStyleDeclaration; import mx.controls.Button; import mx.skins.halo.HaloBorder; import flash.display.Bitmap; public class Main extends Application { [Embed(source="../library/up.png")] public var UpState : Class; [Embed(source="../library/over.png")] public var OverState : Class; [Embed(source="../library/down.png")] public var DownState : Class;

Posted in AS3

[AS3] 靚波請睇

http://tukuru296.com/labo/ d 波點做? 一個波其實好多 point 組成,再用 curve 連成 wave effect 係 叫d point 郁少少 x 同 郁少少 y

Posted in AS3

[AS3] Open source Page Flip Engine

http://www.megazine3.de/

Posted in AS3, 編程

[CSS] 將網頁分割,放棄 960 grid 的一個原因

http://lessframework.com/

Posted in AS3, 編程

[AS3] Saving file by FileReference

FileReference.save() http://blog.everythingflex.com/2008/10/01/filereferencesave-in-flash-player-10/ API http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/flash/net/FileReference.html#save%28%29 (題外話,講 load 的) 叫你注意 loader.dataFormat = URLLoaderDataFormat.BINARY; http://www.actionscript.org/forums/showthread.php3?t=187580 如果 advance d coding的話,用 fscommand出一個小exe將 bytearray -> jpg都得。

Posted in AS3, 編程

[AS3/Flex] Start Module Programming!

http://help.adobe.com/en_US/flex/using/WS2db454920e96a9e51e63e3d11c0bf69084-7f22.html

Posted in AS3, 編程

[AS3] AS3 Framework / API Collection

Adobe APIs corelib, mappr, flickr, youtube and more. http://labs.adobe.com/wiki/index.php…apis:libraries APE (Actionscript Physics Engine) http://www.cove.org/ape/ as3awss3lib ActionScript 3.0 library for interacting with Amazon S3 http://code.google.com/p/as3awss3lib/ as3soundeditorlib Actionscript 3.0 library for sound editing http://code.google.com/p/as3soundeditorlib/ as3ds AS3 Data Structures For Game Developers http://code.google.com/p/as3ds/

Posted in AS3, 編程

[Flash] Hacking SWF – Everything You Never Wanted To Know About Shapes In Flash

http://wahlers.com.br/claus/blog/hacking-swf-1-shapes-in-flash/ must read item!!!!!!!!!!!!!

Posted in AS3, 編程