# \[Flash 8\] Need help in understanding this code!

**URL:** <https://forum.kirupa.com/t/flash-8-need-help-in-understanding-this-code/278333>\
**Category:** flash\
**Created:** [December 27, 2008, 3:59pm UTC](https://forum.kirupa.com/t/flash-8-need-help-in-understanding-this-code/278333 "2008-12-27T15:59:16Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![honzell](https://avatars.discourse-cdn.com/v4/letter/h/8dc957/32.png) [@honzell](https://forum.kirupa.com/u/honzell)\
**Post date:** [December 27, 2008, 3:59pm UTC](https://forum.kirupa.com/t/flash-8-need-help-in-understanding-this-code/278333/1 "2008-12-27T15:59:16Z")

</div>

Hi all,

I just started learning Flash Actionscript.

Can anyone explain to me what this sentence means?

this.\_y = random(Stage.height)-(this.\_height/2)-Stage.height-200;

I got it from a code that make ball falling from top to bottom and i analysis that is this code that make it work. I wanted to change the code to make float from bottom to top.

Can anyone help?

Thank in advance

Regards,  
Wai
