A Flash Developer Resource Site

Results 1 to 3 of 3

Thread: Drag

  1. #1
    Junior Member
    Join Date
    Mar 2000
    Posts
    17
    hello

    i wanna ask about drag something, it is possible to drag something in the scene that we can control the x and y, i mean i have the area to drag the button, let say x=100 y=100 in the scene, out of that area we cannot drag it..


    thanks

  2. #2
    Senior Member
    Join Date
    Jul 2000
    Posts
    672

    I dont quite understand...

    do you want to costrain and object to a specific area?

    If so it is fairly easy, just specify the area to constrain to when setting the start drag command.

    please specify so we can help...

  3. #3
    Junior Member
    Join Date
    Mar 2000
    Posts
    17
    ya exactly..., but i want is if i drag the object when it out from specific the object will stop, the object i drag is ball using a gravity command, i already specific the area, but i can still drag the ball out from the area, when i drop the ball, the ball will go directy to the area that i set..., and looks ugly, is this because of my scene area, i use 550 x 400, and i put my gravity ball in the canter or my scene

    can u give a sample to solve this??


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