Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/j3k0/feathers-foveatextinput
Feathers TextInput replacement to get rid of StageText Crashes on Android
https://github.com/j3k0/feathers-foveatextinput
Last synced: 24 days ago
JSON representation
Feathers TextInput replacement to get rid of StageText Crashes on Android
- Host: GitHub
- URL: https://github.com/j3k0/feathers-foveatextinput
- Owner: j3k0
- License: mit
- Created: 2014-04-30T10:45:00.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2015-10-03T16:41:43.000Z (about 9 years ago)
- Last Synced: 2024-10-16T11:16:10.883Z (2 months ago)
- Language: ActionScript
- Size: 168 KB
- Stars: 3
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
Feathers-FoveaTextInput
=======================Feathers TextInput replacement to get rid of StageText Crashes on Android
Documentation
-------------Import FoveaTextInput:
import feathers.controls.FoveaTextInput;
Use it as a any TextInput:
var input:FoveaTextInput = new FoveaTextInput();
addChild(input);
input.prompt = "Enter your name";
input.x = 100;
input.y = 100;
input.width = 300;
input.height = 60;Behaviour
---------FoveaTextInput will be a regular feathers TextInput on all platform except Android.
On Android, an invisible flash.text.TextField is added over the TextInput to prevent the StageText crash that occurs on some devices. It provides less features, but more stability.
Known Issue
-----------On Android, if some feathers elements are drawn over the FoveaTextInput, the invisible flash.text.TextInput will still be there (not visible, but still active). You may have to remove the text input from the stage to prevent weird behaviours.