03 March 2008, 04:58 PM
The macroscript I´m working on includes a rollout floater that opens when the script button is pressed. It also uses the "on isChecked" event to make the button on the toolbar a checkbutton. However if the user closes the floater by hitting the X on the top, then the button on the toolbar remains checked, wich results on the user havign to double-click the button in order to open it again.
This, of course, is not a big deal, but the script would look a lot more "profesional" if the button on the toolbar would uncheck when hitting the X. I can use a "on <rollout> close" event on the first rollout inside the folater to call a function to un-check the button. However I have so far been unable to find wich sed function could be...