Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Help with overlaying movie clips...

Status
Not open for further replies.

kriskeyman

Technical User
Oct 31, 2006
1
US
I am working on a project for school in which I need to control two overlaying movie files. The .fla file is on the following address for you to work with and download. Any help is greatly appreciated.


Thanks,

-rk-
 
Code:
[b]finalFace_x = 95.5;[/b]
[b]finalEye_x = 95.5;[/b]
speed = 12;
Faces.onEnterFrame = function() {
	Faces._x += ([b]finalFace_x[/b]-Faces._x)/speed;
};
Eyes.onEnterFrame = function() {
	Eyes._x += ([b]finalEye_x[/b]-Eyes._x)/speed;
};
Lauren.onRelease = function() {
	[b]finalFace_x[/b] = 95.5;
};
ELauren.onRelease = function() {
	[b]finalEye_x[/b] = 95.5;
};

... etc

Kenneth Kawamoto
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top