Flash AS2 Tweener Issue

I am creating a flash project which includes the tweener transitions.  I'm trying to hide login fields until the user rolls over a clip displaying the fields.  The problem is when I try to access the fields my RollOver state changes and my fields disappear.  Is there a way to make this function using the tweener?
import caurina.transitions.Tweener;
 
mc1.onRollOver = function() {
	Tweener.addTween(this, {_y:90, time:.25, transition:"easeinoutback", onComplete:function() {this._visible = true;}});
	Tweener.addTween(login, {_y:70, _alpha:100, time:.80, transition:"linear"});
	login._visible = true;
	};
	
mc1.onRollOut = mc1.onReleaseOutside = function() {
	Tweener.addTween(this, {_y:51, time:.25, transition:"easeoutback"});
	Tweener.addTween(login, {_alpha:0, _y:70, time:.0, transition:"linear"});
	login._visible = false;
	};

Open in new window

metrade23Asked:
Who is Participating?
 
H01Connect With a Mentor Commented:
Hi metrade23

You can make the field as part of your movie clip then you wont have to worry about the state change.

I have attach a sample, Hope it helps you.
Login.txt
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.