# Very basic help

**URL:** <https://forum.kirupa.com/t/very-basic-help/271203>\
**Category:** Uncategorized\
**Created:** [September 19, 2008, 5:32pm UTC](https://forum.kirupa.com/t/very-basic-help/271203 "2008-09-19T17:32:03Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![kikicecca](https://avatars.discourse-cdn.com/v4/letter/k/71e660/32.png) [@kikicecca](https://forum.kirupa.com/u/kikicecca)\
**Post date:** [September 19, 2008, 5:32pm UTC](https://forum.kirupa.com/t/very-basic-help/271203/1 "2008-09-19T17:32:03Z")

</div>

what i am up to:

function growPurple (Event:MouseEvent):void{  
purpleSquare\_mc.scaleX += .5;  
purpleSquare\_mc.scaleY += .5;  
if (purpleSquare\_mc.scaleY \> 5){  
}  
}  
pinkBall\_mc.addEventListener(MouseEvent.CLICK, growPurple);

what i want to do:  
basically, i want to click on pinkBall until the purpleSquare reaches a certain size, then have purpleSquare explode.

so questions – do i need an if statement?  
how do i make it stop with purpleSquare at a certain scale?  
how do i make it explode? is there a set event for that in flash?

THANKS THANKS THANKS!,  
a humble flash novice
