Soap bubble turbulence

I’m looking to create an animation similar to a Soap Bubble Turbulence. I’m not sure if it is possible by action script. Can anyone help? I know only basics of action script.

Example of animation