I'm working on a project and I've extended Stage (I just wanted to add one function).
Anyway, I created a new Stage class (let's call it StageX) and I had a line of code like this:
var newstage:StageX = stage;
But this gives me the implicit coercion error.
My question is, is there a way of copying everything from the current stage var into the new StageX? Or do I need to create a new "convertToStageX" function and do it myself? Or is there no use in extending the Stage because it's an integral part of flash?
Thanks!