I found a simpler solution. I put a ToggleSwitch with a custom skin. The skin
looks like:

package 
{
        import spark.skins.mobile.ToggleSwitchSkin;
        
        public class tsUnlockSkinextends ToggleSwitchSkin
        {
                public function tsUnlockSkin()
                {
                        super();
                        // Set properties to define the labels 
                        // for the selected and unselected positions.
                        selectedLabel="Ok";
                        unselectedLabel="Unlock"; 
                }
        }
}



--
View this message in context: 
http://apache-flex-users.2333346.n4.nabble.com/Slide-to-Unlock-tp14936p14940.html
Sent from the Apache Flex Users mailing list archive at Nabble.com.

Reply via email to