I have the images that I want to use for the button in the library, using simpleButton(), how do I link the parameters of that function to the library resources?
I also have a button already made, would it be easier just to create an instance of that in the ActionScript? If so how would I do that?
Edit:
Even when I try this, I get errors:
var createNew:SimpleButton = new SimpleButton();
createNew.upState = newoff;
createNew.overState = newon;
createNew.downState = newon;
addChild(createNew);