Free ActionScript

Flash AS2 & AS3 Tutorials, Game Code, Effects, Source Files & Sample Downloads

Flying Through Space

1 Comment »

Simple “Flying Through Space” AS3 effect.

Usage:
starField.createField(container, x, y, width, height, numberOfStars);

Download Fla Sample

Download Fla Sample

One Response

Nice effect, but since you are using as3, I would really suggest using vectors instead of arrays and a for each loop instead of normal for loop. It will help further optimize and improve your code.

By the way, really nice effect.

  • Leave a Reply

    You must be logged in to post a comment.