A Flash Developer Resource Site

Results 1 to 4 of 4

Thread: back to the starting position

Threaded View

  1. #1
    Senior Member
    Join Date
    Sep 2002
    Posts
    106

    back to the starting position

    I've made a menu you can drag accros the screen. I also made a box where the menu is fixed in, when the animation starts.

    Now I want to alow the visetor to put the menu back in its exact start position. And this by simply dragging the menu over the box and when is left there for more then 5 seconds it slides back in it's original place.

    I've came up with this:

    onclipevent(enterframe){
    if(this.hittest(_parent.menu)==true){
    _parent.menu._x=-50;
    _parent.menu._y=-100;
    }
    }
    Last edited by simpelendidi; 06-23-2003 at 04:19 PM.
    www.flashflow.be

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  




Click Here to Expand Forum to Full Width

HTML5 Development Center