View Poll Results: -
- Voters
- 0. You may not vote on this poll
-
Movie clip link
Hello,
can anybody pls tell me how I can assign a GotoandPlay action to a movieclip item in Flash MX. I want to use a movieclip as a button and when clicked on it, i want it gotoandplay another frame.
pls help me
-
Product Designer
This is not the right forum for this type of questions.
You should ask this sort of things in the "Actionscript" forum.
The "Backend scripting" is dedicated to server-side programming.
Anyway, you can use a MovieClip as a Button, by adding button-like handlers to it, like this:
PHP Code:
myMovieClip.onRelease = function() {
this.gotoAndPlay('myFrameLabel');
};
The previous code should be placed in the FRAME ACTIONS (if you don't know what this means, please go through the beginner tutorials from the Help menu in the Flash authoring environment), sometime when a movieclip with the INSTANCE NAME "myMovieClip" is present.
This will automatically give *some* of the button behaviours, still remaining basically a movieclip.
There are other ways to achieve the same effect, this is the cool thing about Flash.
Hope this helps
Altruism does not exist. Sustainability must be made profitable.
-
Thanks keyone.
THANK YOU VERY MUCH!
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|