Question:

Need someone who knows something about action script?

by  |  earlier

0 LIKES UnLike

Does anyone know how to link a button to a different frame as i need to make a replay button to the main menu (frame 3 to 1) and a button to lead into the game (1 to 2)

The first person to give me an answer which solves my problem will get 10 points

 Tags:

   Report

1 ANSWERS


  1. This is simple, I havent actionscripted in a while, so excuse any incorrect nuances.

    Make sure you have the acionscript wizard on (it'll make it much easier).  You just right click on your button object and goto actions to specify what action this button will take.  If you click on the "+" and scroll some of the predefined actions you can insert, there should be a"onmouseevent" or or "onmouseclick", or generally  "onmouse<something>"... I think it was onmouseevent.  Click that.  Then by checkbox you can click "click" instead of "hover" or one other option to specify what the moust event is.  Once you have this script entered (and it'll look something like onmouseevent(click)), click the little "+" sign again and find the script that says "gotoandstop" and then you can specify which frame you would like the button to navigate to, including what scene, etc.  I hope this makes sense, I havent touched flash in years so Im playing off my memory.  But creating navigable buttons is a very simple concept, you can google search this and find many tutorials.

Question Stats

Latest activity: earlier.
This question has 1 answers.

BECOME A GUIDE

Share your knowledge and help people by answering questions.