[AS3] Help with List component linking to particular images
I'm doing a presentation software and I'm trying to link the List component to particular images. I'm still a beginner at AS3.0 so I'll try to be as specific as possible.
If a user selects "$500" in the list, the image "500.png" is supposed to show.
If a user selects "$1000", the image "1000.png" is supposed to show.
If the user selects "$1500", the image "1500.png" is supposed to show.
you could use the List's "change" event to display the image (when you click on a List item, the "change" event is fired and the selectedIndex/selectedItem changes to the new selected value)
How do I do that in code? Let me try to be more specific:
In frame 1, I put a list named "MoneyCardList" on the stage. In frame 10, I put a movie clip named "panel" on the stage. Behind a "panel" is supposed to be a "money card". I've used the png's for AS linkage: