Common cshockwaveflash functions in VC

Source: Internet
Author: User

Play () play an animation
Stopplay () Stop Animation
Whether the isplaying () animation is being played (true, false)
Gotoframe (frame_number) jump to a frame (frame_number + 1)
Totalframes () gets the total number of frames of an animation.
Currentframe () returns the number of frames of the current animation-1
Rewind () causes the animation to return the first frame
Setzoomrect (left, top, right, buttom) to enlarge the specified area
Zoom (percent) changes the animation size
Pan (x_position, y_position, unit) enables the animation to pan in the X and Y directions.
Percentloaded () returns the percentage of animation loaded (0-100)
Loadmovie (level_number, PATH) Load Animation
Tgotoframe (movie_clip, frame_number) movie_clip jump to the specified number of frames
Tgotolabel (muvie_clip, label_name) movie_clip jump to the specified tag
Tcurrentframe (movie_clip) returns movie_clip to the current frame-1
Tcurrentlabel (movie_clip) returns the current movie_clip label
Tplay (movie_clip) Play movie_clip
Tstopplay (movie_clip) Stops Playing movie_clip.
Getvariable (variable_name) Get the variable
Setvariable (variable_name, value) variable value assignment
Tcallframe (movie_clip, frame_number) Call specifies the action on the frame
Tcalllabel (movie_clip, label) Call specifies the action on the tag
Tgetproperty (movie_clip, property) gets the specified attribute of movie_clip
Tsetproperty (movie_clip, property, number) sets the specified attribute of movie_clip

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.