Im trying to load a movie clip onto the stage as soon as you enter the main movie. I want to use action script to tween with a little ease in and out. I found a usefull tutorial that almost does what Im looking for, but it uses a button to call the clip onto the stage.
Here’s the code on the action layer:
myButton_btn.onRelease = function() {
tweenBar();
};
function tweenBar() {
easeType = mx.transitions.easing.Strong.easeInOut;
var begin = 800;
var end = 0;
var time = .6;
var mc = bar_mc;
barTween = new mx.transitions.Tween(mc, “_x”, easeType, begin, end, time, true);
}
If I want to remove the button, what code do I need to put in it’s place to call the clip when it first loads up?
Can anyone help?
Many thanks