See also
getInstanceAtDepth (MovieClip.getInstanceAtDepth method)
getNextHighestDepth (MovieClip.getNextHighestDepth method)
_currentframe (MovieClip._currentframe property)
public _currentframe : Number [read-only]
Returns the number of the frame in which the playhead is located in the movie clip's timeline.
Availability: ActionScript 1.0; Flash Player 4
Example
The following example uses the
movie clip to advance five frames ahead of its current location:
actionClip_mc
actionClip_mc.gotoAndStop(actionClip_mc._currentframe + 5);
curveTo (MovieClip.curveTo method)
public curveTo(controlX:Number, controlY:Number, anchorX:Number,
anchorY:Number) : Void
Draws a curve using the current line style from the current drawing position to (
) using the control point that (
anchorY
position is then set to (
content that was created with the Flash drawing tools, calls to the
drawn underneath this content. If you call the
method, the current drawing position is set to the default (0,0). If any of the
moveTo()
parameters are missing, this method fails and the current drawing position is not changed.
You can extend the methods and event handlers of the MovieClip class by creating a subclass.
Availability: ActionScript 1.0; Flash Player 6
Parameters
- An integer that specifies the horizontal position of the control point
controlX:Number
relative to the registration point of the parent movie clip.
- An integer that specifies the vertical position of the control point relative
controlY:Number
to the registration point of the parent movie clip.
- An integer that specifies the horizontal position of the next anchor point
anchorX:Number
relative to the registration point of the parent movie clip.
852
ActionScript classes
_currentframe
(controlX
,
). If the movie clip that you are drawing in contains
anchorX
anchorY
property to direct the playhead of the
,
) specifies. The current drawing
controlY
curveTo()
method before any calls to the
curveTo()
,
,
TextFormat
,
anchorX
method are
Need help?
Do you have a question about the FLASH 8-ACTIONSCRIPT 2.0 LANGUAGE and is the answer not in the manual?