Problems with the Car-Zoom Effect

hello-

I’m new to flashplayer but I keep having problems regarding the codes with trying the same effect for the car-zoom. I’ve gotten to the end but when I try to click to activate the zoom effect with my mouse, I keep getting this…

Error Scene=Scene 1, layer=Layer 1, frame=1:Line 2: Statement must appear within on/onClipEvent handler
var frame:Number = 2;

Error Scene=Scene 1, layer=Layer 1, frame=1:Line 6: Statement must appear within on/onClipEvent handler
car_mc.onRelease = function() {

Error Scene=Scene 1, layer=Layer 1, frame=1:Line 12: Statement must appear within on/onClipEvent handler
stop();

Total ActionScript Errors: 3 Reported Errors: 3

know how I can fix this?

-frustrated like hell