Welcome to WebmasterWorld Guest from

Forum Moderators: open

Message Too Old, No Replies

Make image appear on(release)



2:36 pm on Jul 28, 2004 (gmt 0)

10+ Year Member

How can I make a button that, when clicked, causes an image to appear elsewhere on the stage?

Example -- We have a button on the left side of the stage labeled "Car." We want the 'car' image to appear on the RIGHT side of the stage when the button is clicked/released.

I have the button and the image ready to go. I just don't understand how to make them work together.

It's probably something very basic... but please bear with me. I'm new to Flash.



3:18 pm on Jul 28, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member

number of ways to do this. one iof the simplest is probably
to :

create a new movieclip with 2 keyframes in, in the first key frame put nothing except the actionscript stop();

in the second keyframe put your image.

put this movieclip on the stage and give it an instance name.

apply an actionscript along the lines of:


to the button. (where myMovieclip is the instance name of your the clip with the image in )

good luck!


3:36 pm on Jul 28, 2004 (gmt 0)

10+ Year Member

Thanks! I'll give that a try.

Featured Threads

Hot Threads This Week

Hot Threads This Month