A Flash Developer Resource Site

Results 1 to 2 of 2

Thread: drag container

  1. #1
    KoolMoves Moderator blanius's Avatar
    Join Date
    Jul 2001
    Location
    Atlanta GA
    Posts
    5,244

    drag container

    Wilbert this is for you.

    I'm trying to reuse a drag container as an ALert pop up.

    It works fine the fist time and I can show it with
    addChild(dc)

    but once I close it this won't work again.

    Is there some other way of closing it so that I can reopen (show) it when I need to?

  2. #2
    Senior Member
    Join Date
    Dec 2002
    Location
    Netherlands
    Posts
    1,632
    When you click the close button, the object property of the container is set to null and the container is removed from its parent. So if you want to reopen it, do those two things the opposite way.

    dc.object = myObject;
    addChild(dc);

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