[CS3,AS2]Actionscript tween locking from tweening again?

**OK I checked back over my code and realised that i was tweening from a location to the current location of the object. Just put in manually the location I wanted to tween to and it worked. Stupid of me. Feel free to delete this thread!

Hey guys,

Thanks in advance for your help.
I’m making a simple buttons system for class, which i made once using timeline tweens and am now updating it with my newest knowledge of actionscript.

I’ve got a main text (called main) near top of stage and two sub texts (head1 and head2) near bottom, and when you click on a subtexts it tweens up to take the place of the main text and the other two fade away. Then when you click on the subtext which is in place of the main text it should reverse itself.
The first part executes correctly, but once they’ve both faded away and the subtext has taken the place of the main text it won’t tween back down! Here’s my code:

import mx.transitions.Tween;
import mx.transitions.easing.*;

function fadeout(object){
var faderout:Tween = new Tween (object,"_alpha",Strong.easeInOut,100,0,1,true);
}

function fadein(object){
var faderin:Tween = new Tween (object,"_alpha",Strong.easeInOut,0,100,1,true);
}

function enterMenu(object,thex,they) {
var Enterx:Tween = new Tween (object,"_x",Strong.easeInOut,thex,275,1,true);
var Entery:Tween = new Tween (object,"_y",Strong.easeInOut,they,50,1,true);
}

function exitMenu(object,thex,they) {
var Exitx:Tween = new Tween (object,"_x",Strong.easeInOut,275,thex,1,true);
var Exity:Tween = new Tween (object,"_y",Strong.easeInOut,50,they,1,true);
}

head1.onRelease = function(){
if (head1._y > 150){
enterMenu(head1,head1._x,head1._y);
fadeout(main)
fadeout(head2)
}
else{
exitMenu(head1,head1._x,head1._y); <---------------:m:
fadein(main);
fadein(head2);
trace(‘fail’);
}
}

It traces ‘fail’ and the two fade back in it’s just the line with the angry face that doesn’t work.

Please help.