Assign a linkage class to a movieclip instance?

Hi.

The problem: I’ve got a class (BasicButton) that extends MovieClip to extend the ‘button’ capabilities. To this class I pass a movieClip instance (saved in BasicButton.button) and then I add to it some fancy events and fx functionalities to ‘button’. All fine, I used it for years… BUT, if I for example want to set say x,y or alpha properties, I have to set them to BasicButton.button. I don’t like this. I’d like to set directly to the BasicButton instance.

The question: I know, I can assign the linkage class, or maybe better the linkage basic class of the movieclip to BasicButton. But it’s not my case. Is there a way to do it via actionscript? :slight_smile: