# Picking and playing movieclip?

**URL:** <https://forum.kirupa.com/t/picking-and-playing-movieclip/319884>\
**Category:** Uncategorized\
**Created:** [March 7, 2011, 9:38pm UTC](https://forum.kirupa.com/t/picking-and-playing-movieclip/319884 "2011-03-07T21:38:26Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![liner986](https://avatars.discourse-cdn.com/v4/letter/l/bbce88/32.png) [@liner986](https://forum.kirupa.com/u/liner986)\
**Post date:** [March 7, 2011, 9:38pm UTC](https://forum.kirupa.com/t/picking-and-playing-movieclip/319884/1 "2011-03-07T21:38:26Z")

</div>

hey,

I have two mc’s mc1 and mc2. on mouse click of mc3 i want a math random function and a logic argument of if math random =\< 0.5 then play mc1, if mathrandom \> 0.5 then play mc2. how would i right the AS3 for this?
