# I'm doing onClipEvent wrong

**URL:** <https://forum.kirupa.com/t/im-doing-onclipevent-wrong/179532>\
**Category:** flash\
**Created:** [February 21, 2006, 2:03am UTC](https://forum.kirupa.com/t/im-doing-onclipevent-wrong/179532 "2006-02-21T02:03:02Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![SlowRoasted](https://avatars.discourse-cdn.com/v4/letter/s/a698b9/32.png) [@SlowRoasted](https://forum.kirupa.com/u/SlowRoasted)\
**Post date:** [February 21, 2006, 2:03am UTC](https://forum.kirupa.com/t/im-doing-onclipevent-wrong/179532/1 "2006-02-21T02:03:02Z")

</div>

main.onClipEvent(data) = function(){

var xScaleT2:Tween = new Tween(news, “\_x”, Strong.easeOut, -677, 400, 1.5, true);

}

What am I doing wrong here? I want the tween to go after the form data is submitted. Thanks for the help.
