# About this CODE can anyone help me!

**URL:** <https://forum.kirupa.com/t/about-this-code-can-anyone-help-me/231734>\
**Category:** flash\
**Created:** [July 7, 2007, 6:57am UTC](https://forum.kirupa.com/t/about-this-code-can-anyone-help-me/231734 "2007-07-07T06:57:19Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![offclick](https://avatars.discourse-cdn.com/v4/letter/o/b19c9b/32.png) [@offclick](https://forum.kirupa.com/u/offclick)\
**Post date:** [July 7, 2007, 6:57am UTC](https://forum.kirupa.com/t/about-this-code-can-anyone-help-me/231734/1 "2007-07-07T06:57:19Z")

</div>

Hi i got this code from my slider puzzle games but i dont know where i’m gonna put my code for “Well Done!” when the puzzle is finished caould someone help me where can i put this code??? if (i == 0) {  
txtMessage.text = “Wel Done!!”;  
}

on this coding==============================================

xBox=0  
yBox=0;  
tempPos=random(9)+1;  
game=true;

for (i=1;i\<10;i++)  
{  
duplicateMovieClip (box,“box” + i, i)  
if (\_name != “box”) {  
setProperty (“box” add i, \_x, xBox);  
setProperty (“box” add i, \_y, yBox);  
\_root[“box”+i].gotoAndStop(randomNumbers[i-1]);  
\_root[“box”+i].img = randomNumbers[i-1];  
\_root[“box”+i].num=i;  
if (randomNumbers[i-1] == tempPos) { \_root[“box”+i].gotoAndStop(10); \_root[“box”+i].img = 10; } }

if ((i==3) or (i==6)) { yBox+=72; xBox=0; } else { xBox+=72; var success = 1; }  
}
