# Syntax problem

**URL:** <https://forum.kirupa.com/t/syntax-problem/198745>\
**Category:** Uncategorized\
**Created:** [August 28, 2006, 10:34am UTC](https://forum.kirupa.com/t/syntax-problem/198745 "2006-08-28T10:34:12Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ineedsleep](https://avatars.discourse-cdn.com/v4/letter/i/e5b9ba/32.png) [@Ineedsleep](https://forum.kirupa.com/u/Ineedsleep)\
**Post date:** [August 28, 2006, 10:34am UTC](https://forum.kirupa.com/t/syntax-problem/198745/1 "2006-08-28T10:34:12Z")

</div>

I want to have a movie clip called ball and there will be 5 versions of it and there is a anumber generator that gets a random number 1-5 called randNum.

I want \_root.ball+randNum.play() but this doesnt work please tell me what it should be
