I need to limit my users to only enter dates with a custom format. I want to have something like this example in jQuery: http://www.youtube.com/watch?v=BMaTiGKykl8&feature=player_embedded
How can I archive this in AS3?
You need to catch the KeyPressed event on a TextField. Check if the key is pressed correctly at the specified position, if so, do nothing, if not, cancel the event (Event.cancel = true).
( , ) TextField String , TextField.
DateField ?
http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/mx/controls/DateField.html?filter_flex=4.1&filter_flashplayer=10.1&filter_air=2
Source: https://habr.com/ru/post/1775004/More articles:Rare case-sensitive applications with Postgres - ruby-on-railsКак инициализировать ссылку на объект, если ссылка является членом класса? - c++SWFObject / load smil file - javascriptSpring, Morphia implementation and DataAccessException - javaIs there any reason to support the WCF interface in a separate file? - interfaceC ++ friend classes - c ++receiving failure [INSTALL_FAILED_MISSING_SHARED_LIBRARY] when trying to install Layar401.apk - androidсоздание интерфейса таблицы в java - javaAny language: processing Variables - variablesEmbracing the DRY Principle in XML - xmlAll Articles