Action Script Memo
Saturday, April 28th, 2007Just a memo to myself..
Taget movie clip
some_mc.gotoAndPlay(”framelabel”);
some_mc.gotoAndStop(”framelabel”);
Function
function showsome() {
some_mc._alpha = 100;
}
function hidesome() {
some_mc._alpha = 0;
}
Popup an external URL
this.some_btn.onRelease = function() {
getURL(”http://www.go-redsox.com/index.php”, “_blank”);
};
(Has to end with file extension such as .html or .php… other wise, http://www.go-redsox.com/ will NOT work)
Tween class
import mx.transitions.Tween;
import mx.transitions.easing.*;
var ShowSome:Tween =
new Tween(some_mc, “_alpha”, Regular.easeOut,
some_mc._alpha, 100, 5, true);
Click […]
