flex-mobile

Dismiss SoftKeyboard in Flex Mobile

血红的双手。 提交于 2020-01-25 12:23:56
问题 The Flex InteractiveObject has has a requestSoftKeyboard() method that pops up the Soft Keyboard. How can I do the opposite and send it back? Thank you. 回答1: With Flex 4.6, you can dismiss by setting stage.focus = null; Please read more here: open soft keyboard in a mobile Flex application 回答2: For example, say your InteractiveObject is a TextInput, then you can keep it from popping up with the following: private function onActivating(event:SoftKeyboardEvent):void { event.preventDefault(); }

Dismiss SoftKeyboard in Flex Mobile

五迷三道 提交于 2020-01-25 12:22:06
问题 The Flex InteractiveObject has has a requestSoftKeyboard() method that pops up the Soft Keyboard. How can I do the opposite and send it back? Thank you. 回答1: With Flex 4.6, you can dismiss by setting stage.focus = null; Please read more here: open soft keyboard in a mobile Flex application 回答2: For example, say your InteractiveObject is a TextInput, then you can keep it from popping up with the following: private function onActivating(event:SoftKeyboardEvent):void { event.preventDefault(); }

Why TLF text works in debug on device mode but not in a release ad-hoc?

帅比萌擦擦* 提交于 2020-01-14 05:26:06
问题 I have created a swf that include text TLF. After that I have loaded it in an flex mobile application. At the beginning I had lot of problems to load it. 1- First because I used Loader and the project was created with Flash Profesional. The best way is load it with ProLoader of flash library included in Flash Professional. 2- One time I finally loaded and tried it in the simulator on desktop I tried it in my iPad in Debug and fast compilation mode. I had the next error: Error #2100: The

Global access for sqlDB on mobile device

二次信任 提交于 2020-01-06 13:13:30
问题 I am creating a sqlite database for my mobile app. once the user has supplied the correct password the database is opened. Various screens of the application will need to read and write data from the db. is there a way I can make the connection global when I open it, so it can be accessed from any view? the code I am useing to open the DB is var sqlConnection:SQLConnection = new SQLConnection(); sqlConnection.addEventListener(SQLEvent.OPEN,sqlOpenSuccess); sqlConnection.open(DBFile, SQLMode