(any flash!)sending actionscript to email or database

hi everyone!
I’m creating a website like [COLOR=#336699]http://www.midago.com/dentalez/default.htm[/COLOR] where the colours can be changed on mouse rollover. I now need to either save the image and be sent to me or the actionscript to be sent to me, but the problem is I am new to this!it may be something simple or not but please help me!!
The actionscript I am using is

on (rollOver) {
var colorful = new Color("_root.colours");
colorful.setRGB(0xfffff00);
}

this code is inside every square of the colours (that when you roll over the item will change)
Thank you in advance!