Close button whithin floating swf?

g’day everyone

i suppose the answer is simple to the experienced of you:

how do i implement a close button into an swf ?
i have a floating swf ( i know they are boring, but…)
that slides in from the left and i need a button to close that floater.
what would the action script look like ?

thanks for your help