锘??xml version="1.0" encoding="utf-8" standalone="yes"?>
http://www.insideria.com/2009/10/easy-flex-skinning-with-firewo.html
http://onflex.org/learn/fx4/index.php?page=States
鐪嬪畬榪欑瘒鏂囩珷鍚庯紝鎯沖埌涓涓棶棰橈紝濡備綍鐢ㄧ紪紼嬬殑鏂瑰紡瀹炵幇鍒囨崲鍛紝鎵句簡鍙傝冭祫鏂欙紝瀹炵幇浜嗕竴涓緥瀛愶紝浠g爜濡備笅錛?/p>
寮鍙戠幆澧冿細Flash Builder 4 Beta2
鏆傛椂鐢ㄤ笉鍒拌繖涓伐鍏鳳紝璁板綍鐣欏緟澶囨煡銆?/p>
鍘熸枃濡備笅錛?/font>
Events are an important way for objects to communicate. They are essential for creating flexible systems. Flash Player 9, for example, has a built-in event dispatching mechanism in the flash.events.EventDispatcher class. All classes that dispatch events inherit from EventDispatcher (e.g., NetStream and Sprite). If you want to define a class that dispatches events, you can extend EventDispatcher, as follows:
package {
import flash.events.EventDispatcher;
public class Example extends EventDispatcher {
}
}
The EventDispatcher class has public methods called addEventListener( ) and removeEventListener( ) that you can call from any instance of an EventDispatcher subclass to register event listeners. EventDispatcher also defines a protected method called dispatchEvent( ), which you can call from within a subclass to dispatch an event. The dispatchEvent( ) method requires at least one parameter as a flash.events.Event object or a subclass of Event.