View Mode: Normal | Article List
Today I worked on a project using google analytics tracking for flash. When I export movie an error occurs:

1067 error - type class unrelated to Display Object( Class 类型值的隐式强制指令的目标是非相关类型 )

To solve this problem i checked the code which defined GA object:
var tracker:AnalyticsTracker = new GATracker( this, "UA-*****", "AS3", false);

The problem is that I declares this tracker ...

Read More...

PureMVC Standard for AS3

[ 2010-11-17 12:03:10 | Author: liuhuan ]
http://trac.puremvc.org/PureMVC_AS3/

uses facade design pattern.
Quote
PureMVC is a lightweight framework for creating applications based upon the classic Model-View-Controller design meta-pattern. This is the specific implementation for the AS3 language, and the reference implementation for all other PureMVC Ports.

Site pick: diamonds

[ 2010-10-29 19:58:41 | Author: liuhuan ]
engagement rings: http://www.jewelleryboutiques.eu/engagement-rings/
shop online for a wide selection of engagement rings and wedding jewellery from leading international designers at low internet prices and fast home delivery service - jewelleryboutiques.eu

http://www.igcgroup.com/
http://cn.chowsangsang.com/new/eng/
http://www.chowtaifook.com
http://www.steinmetzdiamonds.com/en/
http://www.fru...

Read More...

flash as3: copyChannel

[ 2010-08-19 11:09:23 | Author: liuhuan ]
uploads/201008/19_110901_tt.jpg

var bmp:BitmapData = new BitmapData(mOriginal.width, mOriginal.height, true);
bmp.draw(mOriginal);
var b = new BitmapData(mOriginal.width, mOriginal.height, true, 0xff000000);
var r = new BitmapData(mOriginal.width, mOriginal.height, true, 0xff000000);
var g = new BitmapData(mOriginal.width, mOriginal.height, true, 0xff000000 );
b.copyChannel(bmp,
...

Read More...