Easy-to-follow video tutorials help you learn software, creative, and business skills.Become a member
The Visible Property allows you to simultaneously hide and disable interactivity for a particular instance. Previously this feature was only available using ActionScript. Now, if you don't typically use ActionScript, you may not understand the significance of the Visible Property and why in some cases it's very superior to the Alpha Property. So on the stage I'm going to hide the title screen. I have the kid movie clip.
In that movie clip I have a really simple animation of the kid jumping. Then I have some ActionScript code that I got from a code snippet. I'll select the first keyframe of the Actions layer and press Option+F9 on the Mac or F9 on the PC to open the Actions panel and view the code. In here you'll see that I'm adding an EventListener, but when I click on the border I'm going to make the border jump by playing the Timeline. The movie clip is stopped on Frame 1, so once it plays the jump animation once, it will come back to the first frame and stop again.
So let's go back to the main Timeline, and so we can see the animation I'm going to select the title screen movie clip, so I'll make sure I deselect everything else first, select the title screen, and then in the Color Effect area of the Properties panel I'll select Alpha and change it to 0. Okay? So the title screen has an Alpha of 0. So we can see the border behind it. So let's test the movie, and then we'll click on the skateboarder to see if he jumps; he doesn't jump.
The reason why is because the Alpha Property doesn't disable interactivity, so when I click on the stage, the title screen is absorbing all of the mouse clicks and the skateboarder never receives information so you never see him jump. Now, the Visible Property is superior in this case because I can hide an object and disable interactivity at the same time with one click. So I'll change the Color Effect to None, and in the Display section I'm going to uncheck Visible.
So the movie clip is now hidden, which is different from Alpha, and I'll test the movie. I can click on the skateboarder and you can see him jump. So the Visible Property both hides an object and disables interactivity with one click. You can access the Visible Property in CS5.5 by using a simple check box in the Properties panel.
Get unlimited access to all courses for just $25/month.Become a member
Access exercise files from a button right under the course name.
Search within course videos and transcripts, and jump right to the results.
Remove icons showing you already watched videos if you want to start over.
Make the video wide, narrow, full-screen, or pop the player out of the page into its own window.
Click on text in the transcript to jump to that spot in the video. As the video plays, the relevant spot in the transcript will be highlighted.
Your file was successfully uploaded.