setting up variables
I have a section in the timeline based website I'm making with Ationscript 3 in Flash CS5. I want a square with some content in it to slide into frame when a button it pushed but if another button is pushed I want it to slide back out of frame before the content corresponding with the other button enters. I've seen this done before but I can't remember how. I think it had something to do with setting up a specific variable but that's about it and it's pretty vague. haha.
Can anybody help with that or even just point be towards a tutorial or something because I think this is done fairly frequently.
Thanks.
