# Is there a better way to do this?

**URL:** <https://forum.kirupa.com/t/is-there-a-better-way-to-do-this/224400>\
**Category:** flash\
**Created:** [May 2, 2007, 3:04am UTC](https://forum.kirupa.com/t/is-there-a-better-way-to-do-this/224400 "2007-05-02T03:04:10Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![geoken](https://avatars.discourse-cdn.com/v4/letter/g/a88e57/32.png) [@geoken](https://forum.kirupa.com/u/geoken)\
**Post date:** [May 2, 2007, 3:04am UTC](https://forum.kirupa.com/t/is-there-a-better-way-to-do-this/224400/1 "2007-05-02T03:04:10Z")

</div>

I’m just learning AS3 and trying to re-learn some simple things. Basically I have a bunch of buttons that tween corresponding movie clips.

```auto
import fl.transitions.*;
import fl.transitions.easing.*;
 
b1.addEventListener (MouseEvent.CLICK, sho)
 
function sho (e:Event){
 sho2(box1)
}
 
 
function sho2 (clip){
 var bb = new Tween (clip, "x", Regular.easeOut, 10, 100, 1, true)}

```

I want to know how to trigger sho2 function directly. If I change “MouseEvent.CLICK, sho”  
to “MouseEvent.CLICK, sho2(box1)” I get errors.

Is there any way for me to do this without daisy-chaining functions?
