# More short hand operations

**URL:** <https://forum.kirupa.com/t/more-short-hand-operations/195041>\
**Category:** flash\
**Created:** [July 28, 2006, 12:49am UTC](https://forum.kirupa.com/t/more-short-hand-operations/195041 "2006-07-28T00:49:53Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![brndn](https://avatars.discourse-cdn.com/v4/letter/b/dec6dc/32.png) [@brndn](https://forum.kirupa.com/u/brndn)\
**Post date:** [July 28, 2006, 12:49am UTC](https://forum.kirupa.com/t/more-short-hand-operations/195041/1 "2006-07-28T00:49:53Z")

</div>

Hi all could any one help me simplify some code??

This is what Have done but will take up a lot of lines

```auto

check.onRollOver = function(){
    _root.check.gotoAndStop(2);
};
check2.onRollOver = function(){
    _root.check2.gotoAndStop(2);
};
check3.onRollOver = function(){
    _root.check3.gotoAndStop(2);
};

etc

```

Not sure how this could be done?
