[gameprogrammer] Re: Flash question
- From: Dominic McDonnell <telarau@xxxxxxxxxxxx>
- To: gameprogrammer@xxxxxxxxxxxxx
- Date: Tue, 30 Jun 2009 20:24:22 +1000
I'm not sure of the exact steps but create a movie object (which you
should be able to set the instance name of) with two frames, one with no
box, one without. The first frame is blank and the second has the box.
The first frame has action script of stop(). When the button is clicked
either set the movie to 1 or 2 depending on the state.
A general answer to your question is you have to put the symbol into
an object (movie, button etc) to name it, and therefore to do anything
with it.
Dominic
Kevin Jenkins wrote:
Anyone know flash? I have a text button on a screen that says "What is
this?" When the user clicks the button I want to show a little box
with some text. When they click again the box should go away.
So far I tried creating a symbol to show and hide it, but I can't seem
to give a graphic symbol an instance name to refer to it by.
---------------------
To unsubscribe go to http://gameprogrammer.com/mailinglist.html
---------------------
To unsubscribe go to http://gameprogrammer.com/mailinglist.html
Other related posts: