As Crib notes?

I want to know if anyone keeps notes on constant reused common code. Like crib notes!

I have a few so far


//<------ How to convert aan old methofd of code <----
on (rollOver) {
        tellTarget ("/s3b") {
                gotoAndPlay("s1");
        }
}
on (rollOut) {
        tellTarget ("/s3b") {
                gotoAndPlay("s2");
        }
}

//_-____-_____-___-__-__-_-_-_-_-_--_-__
//Complicated way
num_buttons = 10;
for (i=1; i<=num_buttons; i++) {
     b = this["button"+i];
     b.onRollOver = function() {
          someClip.gotoAndPlay("label"+i+"_over");
     };
     b.onRollOut = function() {
          someClip.gotoAndPlay("label"+i+"_out");
     };
}

//Easy way..
buttonname.onRollOver = function(){
s3b.gotoAndPlay("s1");
}

buttonname.onRollOver = function(){
s3b.gotoAndPlay("s2");
}
//<------------------
//<------------------



//<--------- Move a Mouse text scrool ???????
var mouseHook:Object = new Object();
mouseHook.onMouseWheel = function(turns) {
        trace(turns);
}
Mouse.addListener(mouseHook);
//<--------------



//<------------- Make something move smooth<------------

#include "lmc_tween.as"
//place object on screen
amoon_mc._x = 150;
amoon_mc._y = 450;

// move object
amoon_mc.tween("_y", 100, 4.4, mx.transitions.easing.Strong.easeOut);
amoon_mc._alpha("_alpha", 70, 8, mx.transitions.easing.Strong.easeIn);
amoon_mc.tween("_x", 720, 4.4, mx.transitions.easing.Strong.easeOut);

<---------------------

//basic crap you HAve to knwpoo ! 
_x
_y
_xscale
_yscale

But I could use some more like basic 3d and zoom size and rotation, ( i will add those as soon as I can figure out the tutorials here :D)

But it does not hurt to ask or help out