accessing movie clip frames by Mouse move in HTML

Community Beginner ,
Jun 02, 2020

Copy link to clipboard

Copied

I have a movie clip of 60 frame animation. Action script on first frame inside movie clip : this.stop(); and on 60th frame this.gotoAndPlay(1);  // MovieClip will play in loop while clicking on play button.

 

Requirnment:
1. Wanted to get frames by clicking on "hit area/movie clip symbol" by "press" mousemove action (only x position). "movieClip.x +/ press down and move right" will go forward frames and "movieClip.x -/ press down and move left" will go bacwards frames.

2. Wanted to get next and previous frame by clicking on next and back button.

 

Is anybody know this code?.

TOPICS
ActionScript, Code

Views

162

Likes

Translate

Translate

Report

Report
Reply
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more

Have something to add?

Join the conversation