# I Need A Help..Plz

**URL:** <https://forum.kirupa.com/t/i-need-a-help-plz/229924>\
**Category:** Uncategorized\
**Created:** [June 21, 2007, 9:00am UTC](https://forum.kirupa.com/t/i-need-a-help-plz/229924 "2007-06-21T09:00:49Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![gn\_love\_vel\_m21](https://avatars.discourse-cdn.com/v4/letter/g/6bbea6/32.png) [@gn\_love\_vel\_m21](https://forum.kirupa.com/u/gn_love_vel_m21)\
**Post date:** [June 21, 2007, 9:00am UTC](https://forum.kirupa.com/t/i-need-a-help-plz/229924/1 "2007-06-21T09:00:49Z")

</div>

I have Developed a action script for placing circles inside the flash.

Using this Code

init();  
function init()  
{  
x = 10;  
count = x;  
top = 20;  
left = 20;  
bottom = 20;  
right = 20;  
balls = new Array();  
for (var i = 0; i \< count; i++)  
{  
var ball = attachMovie(“ball”, “ball” + i, i);  
ball.\_x = Math.random() \* Stage.width;  
ball.\_y = Math.random() \* Stage.height;  
ball.vx = Math.random() \* 2 - 1;  
ball.vy = Math.random() \* 2 - 1;  
balls.push(ball);  
}  
}

The Animation Looks like the Following…

![](http://forum.kirupa.com/uploads/kirupa/3783/6ebf8251998dd8f2.JPG)

I want the animation to be occur inside the box…

Note: Don’t Confuse with box.The Box drawn by me After screenshot…

![](http://forum.kirupa.com/uploads/kirupa/3785/2937656b2b3b2e92.JPG)

Plz anybody Give Solution for this.

And also i want another help following this thread…I post later…

If i make any mistake plz apology me…

With Helpless…  
Gnanavel N
