A Flash Developer Resource Site

Results 1 to 5 of 5

Thread: Windows like dragging

  1. #1
    XRave tongxn's Avatar
    Join Date
    Apr 2005
    Location
    Somewhere near Here
    Posts
    870

    Windows like dragging

    hello

    I am trying to create a personal site, the main point is that you have a Nav bar at the left and when you click one, a *window* pops up, the window should be able to do all things normal windows does, (e.g. minimize/restore,close,drag). My problems is that I do not have the proper ActionScript to do minimize and drag... the point is how to minimize a window to its bar??
    The bar is like the top bar for things, and when you click *minimize* the whole window shrinks to the size of the bar (slides into the bar, in another word, or just disappear). and the drag option is only using a oval in the Bar, so only if you drag the oval, the bar follows.
    How to drag the movieclip itself by dragging a movieclip inside the movieclip??

    Regards,
    Tongxn

    p.s. I would add some pictures soon.
    When you actually know what "OMG I have so much homework!" means, you won't want to be me.
    Xrave

  2. #2
    Registered User Ask The Geezer's Avatar
    Join Date
    Jul 2002
    Location
    Out In The Pasture
    Posts
    20,488
    Here's an old, old movie I once used for my site. You should be able to figure out how the drag windows work.
    Attached Files Attached Files

  3. #3
    XRave tongxn's Avatar
    Join Date
    Apr 2005
    Location
    Somewhere near Here
    Posts
    870
    THanks Geezer, i think i already resolved it using one of the tuts.
    I'll have a look anyway if I don't have everything i needed.
    When you actually know what "OMG I have so much homework!" means, you won't want to be me.
    Xrave

  4. #4
    XRave tongxn's Avatar
    Join Date
    Apr 2005
    Location
    Somewhere near Here
    Posts
    870
    Yea all i need now is a thing which lets the frame go backwards.. how could that be done? i mean if I had a minimumbutton which plays the animation of a window minimizing how can i use a maximum button on the minimised state and then reverse the animation?
    When you actually know what "OMG I have so much homework!" means, you won't want to be me.
    Xrave

  5. #5
    XRave tongxn's Avatar
    Join Date
    Apr 2005
    Location
    Somewhere near Here
    Posts
    870
    help me guys I really wanted to get on with this i bin stuck for more than 30 min now
    When you actually know what "OMG I have so much homework!" means, you won't want to be me.
    Xrave

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