예제 #1
0
 /// <summary>
 /// This will take a MovieClip, and add its frames and labels to this builder.
 /// Labels will be added as an animation running from the label index to the next label.
 /// For example, if there is a label named "foo" at frame 0 and a label named "bar" at frame 10, in a MovieClip with 15 frames,
 /// it will add an animation named "foo" that runs from frame index 0 to 9, and an animation named "bar" that runs from frame index 10 to 14. 
 /// Note that this will iterate through the full MovieClip with actionsEnabled set to false, ending on the last frame.
 /// </summary>
 /// <param name="source">The source MovieClip to add to the sprite sheet.</param>
 /// <param name="sourceRect">Optional. A rectangle defining the portion of the source to draw to the frame.
 /// If not specified, it will look for a getBounds method, frameBounds array, bounds property, or nominalBounds property on the source to use.
 /// If one is not found, the MovieClip will be skipped.</param>
 public void addMovieClip(MovieClip source, Rectangle sourceRect) { }
예제 #2
0
 /// <summary>
 /// This will take a MovieClip, and add its frames and labels to this builder.
 /// Labels will be added as an animation running from the label index to the next label.
 /// For example, if there is a label named "foo" at frame 0 and a label named "bar" at frame 10, in a MovieClip with 15 frames,
 /// it will add an animation named "foo" that runs from frame index 0 to 9, and an animation named "bar" that runs from frame index 10 to 14. 
 /// Note that this will iterate through the full MovieClip with actionsEnabled set to false, ending on the last frame.
 /// </summary>
 /// <param name="source">The source MovieClip to add to the sprite sheet.</param>
 public void addMovieClip(MovieClip source) { }
예제 #3
0
 /// <summary>
 /// This will take a MovieClip, and add its frames and labels to this builder.
 /// Labels will be added as an animation running from the label index to the next label.
 /// For example, if there is a label named "foo" at frame 0 and a label named "bar" at frame 10, in a MovieClip with 15 frames,
 /// it will add an animation named "foo" that runs from frame index 0 to 9, and an animation named "bar" that runs from frame index 10 to 14. 
 /// Note that this will iterate through the full MovieClip with actionsEnabled set to false, ending on the last frame.
 /// </summary>
 /// <param name="source">The source MovieClip to add to the sprite sheet.</param>
 /// <param name="sourceRect">Optional. A rectangle defining the portion of the source to draw to the frame.
 /// If not specified, it will look for a getBounds method, frameBounds array, bounds property, or nominalBounds property on the source to use.
 /// If one is not found, the MovieClip will be skipped.</param>
 /// <param name="scale">Optional. The scale to draw the movie clip at. Default is 1.</param>
 public void addMovieClip(MovieClip source, Rectangle sourceRect, JsNumber scale) { }