Stupid question : One button for 2 states

Hi all,

i’ve got one button on my scene… the AS code for it is :

*[color=Red]on (release) {
_root.ThePic.inc.loadMovie(“map.swf”);
}

[/color]*[color=Black]so, when on clik on my button, it load my “map.swf” file. :slight_smile:
but i want this :
when i re-clik on this button, it must unload this “map.swf”…

how can i make this ?

thanks

[/color]