dcsimg
A Flash Developer Resource Site

Results 1 to 5 of 5

Thread: draggable menu

  1. #1

    draggable menu

    i want a menu that can be drug to only a certain _x and once it has hit that mark i want it to stop how do i do this i have tried allot of things.

    Flash MX
    Remember me!

  2. #2
    Senior Member
    Join Date
    Oct 2000
    Location
    Barcelona
    Posts
    875
    Apart from the fact that 'drug' is actually 'dragged'....

    ...the only thing I can think of for now is that you develop 2 .swfs. One the menu, the other other the mainpage. The menu will not be able to cross outside of it's own .swf. It could work in much the same way as a JS pop-up menu which is always in focus.

    Things get complicated if you actualy want the menu to be able to move over some of the mainpage content. Can't add any ideas there. Sorry.

  3. #3
    www.das-media.com dyldebus's Avatar
    Join Date
    Aug 2002
    Location
    Tempe
    Posts
    171
    look up collision detection... you'll find some answers

  4. #4
    Member
    Join Date
    Dec 2002
    Posts
    62
    can you not just do.
    startDrag(stick in parameters here)..

    don't the parameters declare a imaginary box that the movie cannot be dragged out of??
    They are optional and hardly ever used, but i think you can make an imaginary box using four co-ordinates or something?

    http://www.macromedia.com/support/fl...startdrag.html

    that shows you what i mean.
    there are two things that make true happiness!

    Love and Actionscript!

  5. #5
    MindGem Graphics Inc. JediMind's Avatar
    Join Date
    Nov 2001
    Location
    Stockholm/Sweden
    Posts
    407

    Hahah, i search for DRUG and this thread show.

    Hahah, i search for DRUG and this thread show.

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