# Struggling

**URL:** <https://forum.kirupa.com/t/struggling/127429>\
**Category:** Uncategorized\
**Created:** [November 2, 2004, 11:08pm UTC](https://forum.kirupa.com/t/struggling/127429 "2004-11-02T23:08:40Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Emdiesse](https://avatars.discourse-cdn.com/v4/letter/e/c0e974/32.png) [@Emdiesse](https://forum.kirupa.com/u/Emdiesse)\
**Post date:** [November 2, 2004, 11:08pm UTC](https://forum.kirupa.com/t/struggling/127429/1 "2004-11-02T23:08:40Z")

</div>

I have had an idea of an effect i would like to use on my site.  
It is where one by one a pixel appears in the top left and moves to its right position and eases as it gets closer until the whole screen is fully filled.

I have written a pseudocode, whether its right or not i don’t know.

```auto

Load movie clip "pixel" at positions
  _x = -1
  _y = -1
  add one to movie clip counter
 Move movie clip to positions
  _x = 599 - x position counter
  _y = 449 - y position counter
  If y position counter < 0
   y position counter = 449
   x posistion counter = x position counter + 1
  else
   y posistion counter = y position counter + 1
  endif
 if movie clip counter > 270000
  stop();
 else
  repeat
 end if

```

What would the action script be for that?  
I have been struggling my self but no matter what i do i can’t get it right ☹

Thanks 😃
