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.
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