ClipEvent
| Kind of class: | class |
|---|---|
| Inherits from: | Event |
| Classpath: | org.asapframework.events.ClipEvent |
| File last modified: | Monday, 09 October 2006, 00:41:07 |
General event class for events related to movieclips.
As the type of the event is undefined, it is left to the user to use this event only where applicable.
Example to notify the nearest LocalController that the clip has loaded:
As the type of the event is undefined, it is left to the user to use this event only where applicable.
Example to notify the nearest LocalController that the clip has loaded:
public static var EVENT_CLIP_LOADED:String = "onClipLoaded"; var lc:LocalController = MovieManager.getInstance().getNearestLocalController(this); addEventListener(EVENT_CLIP_LOADED, lc); dispatchEvent(new ClipEvent(EVENT_CLIP_LOADED, this)); }
Summary
Constructor
ClipEvent
function ClipEvent (
inType:String,
inSource:MovieClip)
Instance properties
mc
mc:MovieClip
(read)
name
name:String
(read)