flex-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jairo <ja...@fusoti.com.br>
Subject Re: Slide to Unlock
Date Wed, 29 Mar 2017 17:27:47 GMT
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.

Mime
View raw message