Currentframe (Movieclip._Currentframe Property); Curveto (Movieclip.curveto Method) - MACROMEDIA FLASH 8-FLASH LITE 2.X ACTIONSCRIPT LANGUAGE Reference

Flash lite 2.x actionscript language reference
Hide thumbs Also See for FLASH 8-FLASH LITE 2.X ACTIONSCRIPT LANGUAGE:
Table of Contents

Advertisement

An example is also in the animations.fla file in the ActionScript samples folder. The following
list gives typical paths to this folder:
Windows: Windows: boot drive\Program Files\Macromedia\Flash 8\Samples and
Tutorials\Samples\ActionScript
Macintosh: Macintosh HD/Applications/Macromedia Flash 8/Samples and Tutorials/
Samples/ActionScript
See also
getInstanceAtDepth (MovieClip.getInstanceAtDepth method)
getNextHighestDepth (MovieClip.getNextHighestDepth method)

_currentframe (MovieClip._currentframe property)

public _currentframe :
Returns the number of the frame in which the playhead is located in the movie clip's
Timeline.
Availability: ActionScript 1.0; Flash Lite 2.0
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 created with the Flash drawing tools, calls to
content. If you call the
current drawing position defaults to (0,0). If any of the 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 Lite 2.0
Number
[read-only]
_currentframe
(controlX
,
). If the movie clip you are drawing in contains
anchorX
anchorY
method before any calls to the
curveTo()
,
property to direct the playhead of the
,
) specifies. The current drawing
controlY
are drawn underneath this
curveTo()
moveTo()
,
TextFormat
,
anchorX
method, the
MovieClip
457

Advertisement

Table of Contents
loading

Table of Contents