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 biv343 on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Repostioning a Movie Clip

Status
Not open for further replies.

law78

Technical User
Apr 23, 2004
78
GB
Hi people,

I was wondering if it is possible to reposition a movie clip once it has been moved around screen via the start drag command

Thanks
Lee
 
Yes it's possible to move the clip anywhere you want to on the stage. Here's an example for a "reset button:"

Code:
on(release){
   _root.clipName._x = 25;
   _root.clipName._y = 25;
}

That would place the registration point of the target movie clip (clipName) at x:25 y:25.

Hope it helps.

Wow JT that almost looked like you knew what you were doing!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top