From 54290011ae92db4ec84a4d32ceac7014424f9004 Mon Sep 17 00:00:00 2001 From: Ray Greenwell Date: Thu, 19 Apr 2007 23:12:53 +0000 Subject: [PATCH] Properly document our event. git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@202 ed5b42cb-e716-0410-a449-f6a68f950b19 --- src/as/com/threerings/flash/MediaContainer.as | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/src/as/com/threerings/flash/MediaContainer.as b/src/as/com/threerings/flash/MediaContainer.as index af02edf0..98c13276 100644 --- a/src/as/com/threerings/flash/MediaContainer.as +++ b/src/as/com/threerings/flash/MediaContainer.as @@ -57,6 +57,14 @@ import com.threerings.util.StringUtil; import com.threerings.util.ValueEvent; import com.threerings.util.Util; + +/** + * Dispatched when the size of the media being loaded is known. + * + * @eventType com.threerings.flash.MediaContainer.SIZE_KNOWN + */ +[Event(name="mediaSizeKnown", type="com.threerings.util.ValueEvent")] + /** * A wrapper class for all media that will be placed on the screen. * Subject to change. @@ -64,7 +72,10 @@ import com.threerings.util.Util; public class MediaContainer extends Sprite { /** A ValueEvent we dispatch when our size is known. - * Value: [ width, height ]. */ + * Value: [ width, height ]. + * + * @eventType mediaSizeKnown + */ public static const SIZE_KNOWN :String = "mediaSizeKnown"; /** A log instance that can be shared by sprites. */