Hide list on item select

In this one, I'm going to show you how easy you can hide the movies list when you select a movie from the list.

Step 1

So, let's open the index.fla file and let's go to line 201. As you can see, we have an item.onRelease function there. This is what we need! Everytime we press an item, we want to hide the movies list. So let's paste this code inside the function:

if (Stage["displayState"] == "normal") {
list_mc.tween("_y",yourheight + list_mc._height*2, 1, "easeInExpo");
}else{
list_mc.tween("_y",Stage.height + list_mc._height*2, 1, "easeInExpo");
}


Take a look at the pictures how:


That's it! :)