Adding AS 3.0 to my video

Where do I click to add AS to my video? In AS 2.0 I applied it directly to the object so where/ how do I apply it now?