# Problems with the Car-Zoom Effect

**URL:** <https://forum.kirupa.com/t/problems-with-the-car-zoom-effect/229185>\
**Category:** flash\
**Created:** [June 14, 2007, 7:16pm UTC](https://forum.kirupa.com/t/problems-with-the-car-zoom-effect/229185 "2007-06-14T19:16:14Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Jenica](https://avatars.discourse-cdn.com/v4/letter/j/8c91f0/32.png) [@Jenica](https://forum.kirupa.com/u/Jenica)\
**Post date:** [June 14, 2007, 7:16pm UTC](https://forum.kirupa.com/t/problems-with-the-car-zoom-effect/229185/1 "2007-06-14T19:16:14Z")

</div>

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
