Making a Dynamic SWF Background

Hello everybody!

I’m constructing a Flash-based system as a personal website, and was using a dynamic background which I found on the internet.
The problem is that this background is too boring, but I want to know how to code such background SWF myself.

To use it you just need to mcl.loadClip to a MovieClip on the stage. The background resizes itself and fits the texture and the gradient appropriately…
Now, this SWF is encrypted, so I wasn’t able to decompile it in order to learn how exactly it works, so… yeah.

http://www.swfcabin.com/swf-files/1265142987.swf

  • Resize your browser window to see how the BG behaves.

Does anybody have any idea how-to?