Help w/ imageViewer (using easing)

ok…i hope the name of the topic is right…and i hope i posted this in the correct section but i made a movie using easing…its the outline of a square and i have the height and width both set to 1…first i have it falling and bouncing onto the stage…and then it expands and then it closes and jumps back off the stage…here is the actual animation: http://tccn.centraldown.com/box.html

and here is the code:

First Frame:

 
stop();
start_btn.onRelease = function() {
drop(mx.transitions.easing.Bounce.easeOut);
}
function drop(easeType) {
mc = square;
begin = -8.5;
end = 199.5;
time = 20
dropTween = new mx.transitions.Tween(mc,"_y",easeType,begin,end,time,false);
dropTween.onMotionFinished = function() {
expand(mx.transitions.easing.Bounce.easeOut);
}
function expand(easeType) {
mc = square;
begin = 1;
end = 429.8;
time = 20;
expandTween = new mx.transitions.Tween(mc,"_width",easeType,begin,end,time,false);
expandTween.onMotionFinished = function() {
expandAgain(mx.transitions.easing.Bounce.easeOut);
_root.gotoAndStop(2);
}
function expandAgain(easeType) {
mc = square
begin = 0
end = 213.9
time = 20
expandAgainTween = new mx.transitions.Tween(mc,"_height",easeType,begin,end,time,false);
}
}
}

Second Frame:

 
stop();
close_btn.onRelease = function() {
closeExpand(mx.transitions.easing.Bounce.easeOut);
}
function closeExpand(easeType) {
mc = square;
begin = 429.8;
end = 1;
time = 20;
closeExpandTween = new mx.transitions.Tween(mc,"_width",easeType,begin,end,time,false);
closeExpandTween.onMotionFinished = function() {
closeExpandAgain(mx.transitions.easing.Bounce.easeOut);
_root.gotoAndStop(1);
}
function closeExpandAgain(easeType) {
mc = square
begin = 213.9
end = 1
time = 20
closeExpandAgainTween = new mx.transitions.Tween(mc,"_height",easeType,begin,end,time,false);
closeExpandAgainTween.onMotionFinished = function() {
jump(mx.transitions.easing.Bounce.easeIn);
}
function jump(easeType) {
mc = square;
begin = 199.5;
end = -8.5
time = 20
jumpTween = new mx.transitions.Tween(mc,"_y",easeType,begin,end,time,false);
}
}
}

now…i tried making this into a imageViewer…by creating two functions (openBox(pic); and closeBox():wink:
now i have a box on the stage w/ the instance name box_mc…and an empty mc on the stage w/ the instance name container_mc…i also have a few buttons on the stage…in the openBox(pic); function, i load a movie into container_mc and set its alpha to 0 so that u can’t see it right away…and when it loads…i start all the easing to make form the box…and i set all the properties to fit the size and position of whatever the container_mc’s size and position is…but it just doesn’t seem to work…here is the code i have so far(i only have code for the openBox(pic); function at this moment:

 
function openBox(pic) {
with(container_mc) {
loadMovie(pic);
_alpha = 0;
_height = pic._height;
_width = pic._width;
_x = (_root._width/2)-(container_mc._width/2);
_y = (_root._height/2)-(container_mc._height/2);
}
drop(mx.transitions.easing.Bounce.easeOut);
function drop(easeType) {
mc = box_mc;
begin = box_mc._y;
end = container_mc._y
time = 20
dropTween = new mx.transitions.Tween(mc,"_y",easeType,begin,end,time,false);
dropTween.onMotionFinished = function() {
expandX(mx.transitions.easing.Bounce.easeOut);
}
function expandX(easeType) {
mc = box_mc
begin = box_mc._width
end = container_mc._width
time = 20
expandXTween = new mx.transitions.Tween(mc,"_width",easeType,begin,end,time,false);
expandXTween.onMotionFinished = function() {
expandY(mx.transitions.easing.Bounce.easeOut);
}
function expandY(easeType) {
mc = box_mx;
begin = box_mc._height;
end = container_mc._height;
time = 20
expandYTween = new mx.transitions.Tween(mc,"_height",easeType,begin,end,time,false);
expandYTween.onMotionFinished = function() {
	showPic();
}
function showPic() {
	mc = container_mc
	begin = 0
	end = 100
	time = 20
	showPicTween = new mx.transitions.Tween(mc,"_alpha",easeType,begin,end,time,false);
}
}
}
}
}

and i call on this action when you press the button on the stage w/ the instance “b1” here is the code for that:

on(release) {
openBox('picture.jpg');
}

attached to this mesage is also a .zip folder w/ the FLA and the JPEG that i have loading into the stage when you press the b1 button on the stage…so if u have any idea why this doesn’t work…if you could help me…that would be GREAT!!! thanx in advance!