[AS2] Making an escape game. Help with an if statement...and equiping an item

Well i need help with two things!

  1. i need help with an if statement that satisfies the following

_root.bead._visible=1
_root.App._visible=1
_root.Grapes._visible=1

//code specifying that the 3 clickable objects have been found and placed in their item slots

once the above is satisfied all i want is for it to “GotoAndPlay (2)”

In my escape game there is going to be two sets of inventory, all i want it to do is when the above inventory has been all found for it to go to another frame.

  1. My second issue
    I want to be able to click on an item in inventory and equip it for use…in the fla i will attach, i have multiple items. i want to click the grape, have an indicator showing its equipped and the click the random blue square which is a place holder for a door. i want to be able to use the grape (key) to open the square (door) i want the script to gotoandstop (2).

All help appreciated! thanks