MovieClip
925
Parameters
mc
:Object
- The instance name of a movie clip to be a mask. This can be a String or a
MovieClip.
Example
The following code uses the
circleMask_mc
movie clip to mask the
theMaskee_mc
movie
clip:
theMaskee_mc.setMask(circleMask_mc);
_soundbuftime (MovieClip._soundbuftime property)
public _soundbuftime : Number
Specifies the number of seconds a sound prebuffers before it starts to stream.
Note:
Although you can specify this property for a MovieClip object, it is actually a global
property that applies to all sounds loaded, and you can specify its value simply as
_soundbuftime
. Setting this property for a MovieClip object actually sets the global property.
Availability:
ActionScript 1.0; Flash Player 6
See also
_soundbuftime property
startDrag (MovieClip.startDrag method)
public startDrag([lockCenter:Boolean], [left:Number], [top:Number],
[right:Number], [bottom:Number]) : Void
Lets the user drag the specified movie clip. The movie clip remains draggable until explicitly
stopped through a call to
MovieClip.stopDrag()
, or until another movie clip is made
draggable. Only one movie clip at a time is draggable.
You can extend the methods and event handlers of the MovieClip class by creating a subclass.
Availability:
ActionScript 1.0; Flash Player 5
Parameters
lockCenter
:Boolean
[optional] - A Boolean value that specifies whether the draggable
movie clip is locked to the center of the mouse position (
true
), or locked to the point where
the user first clicked the movie clip (
false
).
left
:Number
[optional] - Value relative to the coordinates of the movie clip's parent that
specify a constraint rectangle for the movie clip.
Summary of Contents for FLASH 8-ACTIONSCRIPT 2.0 LANGUAGE
Page 1: ...ActionScript 2 0 Language Reference ...
Page 1352: ...1352 ActionScript classes ...