A Flash Developer Resource Site

Results 1 to 2 of 2

Thread: Making an expanding and collapsing box

  1. #1
    Junior Member
    Join Date
    Apr 2009
    Posts
    19

    Making an expanding and collapsing box

    I'm trying to figure out how to create a simple box that has text in it that opens when a button is clicked and then closes when a close button is clicked. I thought this would be easy to research online but I haven't found any tutorials or direction that shows me how to do this. Does anyone have any links or step by step directions.

    I attached an image to get a better idea of what I'm talking about.


  2. #2
    Junior Member
    Join Date
    Apr 2009
    Posts
    19
    I actually figured out the first part and got the box to load but now I'm having trouble closing the box again. So I have the Popup MC load in to an empty MC in the main scene. In the Popup MC I have another MC "ClosePop1" with the AS:

    on (release) {
    this.removeMovieclip("Popup");
    }

    It's not closing the Popup MC. What am I missing? This is using AS2.

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