Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

List Box Selection

Status
Not open for further replies.

GeoDM

Technical User
Dec 16, 2003
66
US
I have a list box in flash. As the user selects a item in the list box I would like a layer to become visible. Preferably I'd like the users to select the item in the list box and depending on that selection a certain graphic appears. For example I have a Dinner Plate. In the list box are various foods. I'd like that food to display on the plate when selected.
 
I see how that would work. Thanks for pointing me in that direction. I would name the frame say food1 and add this to ActionScript:

on(click){
this._parent.gotoAndStop("food1");
}

but how should I handle the click in the list box?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top