Action Scripts get implemented or activated only when Animation .FLA (Adobe Flash Document File) file published to SWF (Shockwave File Format) & you never use .SWF when you publish your Flash Animation Movie to image sequence or any other avi video format.
e.g. when you want to rotate an movie clip inside flash you have do it by Transform tool or palette & keyframes with motion tween but not by using Action Script.
So Action Script can only work on web format where .SWF files are embedded or used or plays inside HTML but not on video.
Thanks & Regards
Mandar Apte