I hope someone will be able to help me. I am trying to create a scrolling shade that when a button is pressed moves down the y axis to reveal what is behind it. Not being very knowledgeable in Actionscript, I searched the web looking for a script that would do what I intend to accomplish. I found this scrip, but when I run it, nothing happens. I did make sure that all my instances are named correctly, but no success. Can anyone please help me?
Thank you.
Brutium
************************************************** *************
start_btn.onRelease = function() {
shade();
};
function shade() {
shade = mx.transitions.easing.Bounce.easeOut;
var begin = 465;
var end = 1000;
var time = 1.5;
var mc = shade_mc;
shade = new mx.transitions.Tween(mc, "_y", shade, begin, end, time, true);
}
start_btn.onRelease = function() {
shade();
};
function shade() {
shade = mx.transitions.easing.Bounce.easeOut;
var begin = 465;
var end = 1000;
var time = 1.5;
var mc = shade_mc;
shade = new mx.transitions.Tween(mc, "_y", shade, begin, end, time, true);
}