A Flash Developer Resource Site

Results 1 to 7 of 7

Thread: Adding dragable menus

  1. #1
    Member
    Join Date
    May 2000
    Posts
    93
    I just made a simple fla like barneys.com but i want to know how to add dragable menu's? again like barneys.com
    http://www.geocities.com/reign_in_bl.../XY-upload.htm

    [Edited by darren666 on 08-11-2000 at 03:54 PM]

  2. #2
    Hack
    Join Date
    Mar 2000
    Location
    Madison, WI
    Posts
    1,753
    Wow, barneys.com is a really well-done site! I've never seen that before.

    The draggable menu box isn't that difficult. First, build your little navigation menu inside an MC. After you've done that, all you have to do to make it draggable is add a little bar at the top, make it a button, and give it this action:

    On (Press)
    Start Drag ("")
    End On

    On (Release)
    Stop Drag
    End On

  3. #3
    Member
    Join Date
    May 2000
    Posts
    93

    thanx anyway

    i dont think that'll work, what i need is a dragable menu that will move with the apropriate picture.

  4. #4
    Junior Member
    Join Date
    Aug 2000
    Posts
    1
    why don't you go to http://www.praystation.com (the same guy who made barneys) and download the .zip that has identical code to barneys.. i forget which day it is, look around.

  5. #5
    Hack
    Join Date
    Mar 2000
    Location
    Madison, WI
    Posts
    1,753
    The dragable menu will move with its environment as long as you put it inside the movie that's moving.

  6. #6
    Member
    Join Date
    May 2000
    Posts
    93

    .....

    Thanx,i noticed that but when you let go of draging it it returns to it's 1st postion??

  7. #7
    Junior Member
    Join Date
    Aug 2000
    Posts
    7
    You may need to rethink the way you are initially creating your site. Here are some considerations you may wish to look at for your own project which have helped me:

    1. I create a blank "projector" file and embed movies into it on different levels. This way I can easily maintain global and local variables pertaining to the movies or series of movies that I will be addressing throughout the site.

    2. When dealing with drageable menus, you may want to retain variables that will remember the x,y coodinates of the menu. If you use a projector file, then you can write these variables to _level0 close the windows, and later open up that menu (or window) again obtaining those same coordinates for exact positioning.

    3. In direct consideration to the problem you are having with moving the menu and then it returns back to its default position-- if this is occurring your may want to look at your code and see if it is reevaluating the position where its originally starts.

    (Now in plain english)-- If you have a movie that your position on frame 1; you now drag that object to another position, and on release it goes back to read frame 1...it will start in its original position.

    Hope some of this information will aid you...

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