-
[MX] click button, image appears/disappears
It's been years since I last coded in Flash so even if I remember some stuff, the mundane things escaped me...
so please bear with me...
several buttons
several images
upon loading. one image is visible, rest is not.
when one button is clicked, the visible image goes off and another image, then invisible should now be visible.
now, I realize that the code for the button should be
Code:
Button1.onRelease=function(){
image1._visible=true;
image2._visible=false;
}
where button1 is the instance name I put via the properties at the bottom of the window
image1 and image2 is the instance name for the images.
now, how do I set the images to be _visible=false when the movie loads?
I set it in a frame right? but what exactly is the code?
also, for the button codes, should the above code be OK?
I realize I'm going to look like a noob but can you give me an example code?
thanks
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
|