I have a button, my_btn on stage. I want to assign a movie in the liabrary to this button. In the liabrary I assign the movie linkage identifier as "good" and have this script in first frame : my_btn.icon="good";. I have no result, any idea ?
if you want to add your icon to my_btn, use:
if you want to replace my_btn by your icon, use:
var mc:MovieClip=my_btn._parent.attachMovie("good","icon",my_btn._parent.getNextHighestDepth( ));
// etc if there are other properties/methods you want to "transfer" to your icon