Looked around Everywhere I need a good Push for StarFields in AS3

I been around everywhere, And all these star field tuts . are as1 or as2, few in as3 but makes no sense to me.

i just want to learn the correct process of random math. in AS3.

creating a star field. that loops no extra’s just continues to loop.

the ones i found where used by wasd, or arrow keys, dont want none of that.
just simple understanding…

Please help?