haha, in no way am i telling you that sealing everything is THAT much better, probably only slightly better in a certain situation, i was just simply providing alternatives to your solutions because you asked.
PS. if you want to just attach data to a tween, just do this:and now you have a lovely dynamic Tween class :)PHP Code:public dynamic class AwesomeTween extends Tween
{
public function AwesomeTween($obj:*, $property:String, $easing:Function, $start:Number, $end:Number, $duration:Number, $isSeconds:Boolean)
{
super($obj, $property, $easing, $start, $end, $duration, $isSeconds);
}
}
And as for you reference o why all classes arent inherently dynamic, I'm sure that you can figure out why they are now and the over head they do provide. Whether it is noticeable in most applications or not, the flash engine has to work that much harder figuring out what all is in a class and whatever the hell else it has to do. So it's an option in the chance that you NEEDED it to be. If every class is dynamic im sure there would be noticeable performance hit. And when i mean everything, im not talking about just custom classes, im referring to all build in classes as well.
