Add class to emptyMovieClip

Is it possible to attach some script to a dynamically created movie Clip?