How do I change the MovieClip(graphic) that is associated to a class with actionscript 3? For example I have a MovieClip in my library that is named playButton and it's class has the same name. How do I change the MovieClip associated with the class to be playButton2?
The way I display my MovieClips right now is:
private var playButton_:playButton = new playButton();
//in constructor
playButton_.x = 300;
playButton_.y = 300;
addChild(playButton_);
Thanks in advance.