Show image when button is clicked

Hello. I want to create something like this.
Cupcake creator

Do you guys know how to do it? A circle will be clicked and the corresponding image fades in. Example click btn1 then img1 appears.just like what happens in that cupcake creator linked above.

This will require a certain amount of code. There are many ways to do this, but my approach would be to have a movie clip that contains your image and the tween that fades it in. This movie will just live in the library, and you can load it programmatically when you click on a button.

Two tutorials might help with this are: http://www.kirupa.com/developer/flashcs3/displayingContent_library_AS3_pg1.htm AND http://www.kirupa.com/developer/as3/hyperlink_as3.htm (notice how a click event handler is being setup)