-
1. Re: iOS keyboard text entry - user must close keyboard
RobWellington Nov 21, 2013 6:02 PM (in response to RobWellington)Adobe, if you won't let us type straight into the text object like an application or .EXE
then can we have iOS keyboard events/handlers/messages/properties please
EG:
if iOSkeyboard.on = 1 then iOSkeyboard.on = 0 -- closes iOS keyboard and transfers entered text to _movie.keyboardFocusSprite.member.text
-
2. Re: iOS keyboard text entry - user must close keyboard
RobWellington Nov 21, 2013 6:31 PM (in response to RobWellington)TEMP SOLUTION - and this is ugly and embarassing but:
on mouseUp(me) -- a version of this in every button script associated with text entry
newName = member("new name").text
if newName = globalOldName then
alert "Adobe needs you to close the keyboard first"
else handlerFor(newName)
end
-
3. Re: iOS keyboard text entry - user must close keyboard
RobWellington Apr 7, 2014 10:00 PM (in response to RobWellington)What I've done is, wherever text input and then OK or Cancel, etc is required, I've hidden the buttons under the pop-up keyboard so it must be closed to hit them. It may be slightly annoying to users but it works. Your classic workaround by design.
I'd stil like Adobe to fix this, though...AND fields please...not to mention MP4 support, etc, etc, whinge, moan...
-
4. Re: iOS keyboard text entry - user must close keyboard
pletkip Apr 14, 2014 12:18 PM (in response to RobWellington)i have a workaround if you are done with inputting text, then click an other editable text and attach a mouseup event on to that text, something like "click to submit"
-
5. Re: iOS keyboard text entry - user must close keyboard
RobWellington Apr 14, 2014 5:09 PM (in response to RobWellington)Also, sometimes the editable text region enlarges. This seems to happen when the editable text field has some area of it under the pop-up keyboard. The entire text object then shifts up so all of it can be seen. I guess this makes sense but it's really ugly. Also the font renders properly when you're in edit mode and looks thin on the screen otherwise. (You'd think text and fonts would be the easy part for the Director team!)
-
6. Re: iOS keyboard text entry - user must close keyboard
pletkip Apr 15, 2014 1:28 AM (in response to RobWellington)i have a problem with saving to the iphone.
for example you enter your name in a game, when the game is removed from the iphone's memory and restarted the info is gone......
how to save this permanently in the app?
-
7. Re: iOS keyboard text entry - user must close keyboard
piXelSkiLLs Apr 15, 2014 1:54 AM (in response to pletkip)You need to write the info to file and then read from file when needed. Dir (Ios) supports SetPref() and GetPref(). Ex: You can store the username in a variable and convert to a string using SetPref() Use GetPref() to to read the string and convert it back again. List /property lists are good to use when storing lot of data into a string
-
8. Re: iOS keyboard text entry - user must close keyboard
pletkip Apr 15, 2014 1:58 AM (in response to piXelSkiLLs)thanks for the quick answer : )
but where do a save this file?
-
9. Re: iOS keyboard text entry - user must close keyboard
piXelSkiLLs Apr 15, 2014 2:44 AM (in response to pletkip)You can try with some MouseUp events to test it. The best place to create two events in the movie script so you can call them from everywere
on SetmyPref
-- Write file here SetPref()
end
On ReadMyPref
--Read file here GetPref()
end
http://help.adobe.com/en_US/Director/11.0/help.html?content=07_Methods_423.html
Old article of the basic + example file
-
10. Re: iOS keyboard text entry - user must close keyboard
pletkip Apr 15, 2014 2:50 AM (in response to piXelSkiLLs)Thanks piXelSkills !!!
-
11. Re: iOS keyboard text entry - user must close keyboard
piXelSkiLLs Apr 15, 2014 4:01 AM (in response to pletkip)On iOS you can also use onActivateApplication and onDeactivateApplication handlers to setRef()/getRef() when program goes to background or foreground. Create new thread about this if you need more help.
http://helpx.adobe.com/director/using/publishing-ios-devices-using-director.html
-
12. Re: iOS keyboard text entry - user must close keyboard
pletkip Apr 15, 2014 4:03 AM (in response to piXelSkiLLs)On an other topic........
im trying to create a "wobbling" effect with a bitmap
any idea how to go with this with director?
-
13. Re: iOS keyboard text entry - user must close keyboard
piXelSkiLLs Apr 15, 2014 4:12 AM (in response to pletkip)No, but create a new question in the forum. Maybe someone have an idea.
-
14. Re: iOS keyboard text entry - user must close keyboard
pletkip Apr 15, 2014 4:15 AM (in response to piXelSkiLLs)i will : )

