大家好,我想了解在AS3中dispatchEvent是什么。 在谷歌上搜索后没有得到任何想法。:( 所以请帮帮我。
编辑1:
public static const SET_VOLUME:String = "setVolume";
private function onclick(evt:MouseEvent):void {
soundClip.scaleX = 0;
dispatchEvent(new Event(SET_VOLUME));
}
这是什么意思?()