# How would I make this bit of code?

**URL:** <https://forum.kirupa.com/t/how-would-i-make-this-bit-of-code/222409>\
**Category:** programming\
**Created:** [April 13, 2007, 5:04am UTC](https://forum.kirupa.com/t/how-would-i-make-this-bit-of-code/222409 "2007-04-13T05:04:33Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![ninja](https://avatars.discourse-cdn.com/v4/letter/n/53a042/32.png) [@ninja](https://forum.kirupa.com/u/ninja)\
**Post date:** [April 13, 2007, 5:04am UTC](https://forum.kirupa.com/t/how-would-i-make-this-bit-of-code/222409/1 "2007-04-13T05:04:33Z")

</div>

LOL I really suck with actionscipt.

this question is for ANYONE reading this who knows how to answer it: I want to make a code command similar to this (For my flash game):

[FONT=Times New Roman][SIZE=3]If “Beat Area” (Button inside a movieclip) is clicked,[/SIZE][/FONT]  
[FONT=Times New Roman][SIZE=3]Play “PerfectCombo” (Movie clip measuring combo)[/SIZE][/FONT]

[FONT=Times New Roman][SIZE=3](NOTE: “Perfect combo” is a movieclip with frame 1 being the number “1”, frame 2 being “2” and so on. Each frame has a stop command, so playing it would just bring it to the next frame)[/SIZE][/FONT]
