How can I made the ramdom circles move in a sine-wave form?

:jail: I’m trap!!!

I have the MX fla for the ramdon circles movement. I want them to form a sine-wave movement.

I alredy tried Math.sin(X) for it and it wont work.

I would like somebody to help.:frowning: