air

Is it possible to store an Array into an EncryptedLocalStore item? AIR

橙三吉。 提交于 2019-12-24 20:27:10
问题 I want to save my Array's strucure and load it the next time I open my AIR application. Is there a way to store it to an EncryptedLocalStore item then get it later when I re-open the app? 回答1: EncryptedLocalStore.setItem() method takes a byte array when storing contents. To store an array, just use ByteArray.writeObject() method (as described in http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/flash/utils/ByteArray.html#writeObject()) to convert your Array to a ByteArray -

Add layout to Flex UIComponent

生来就可爱ヽ(ⅴ<●) 提交于 2019-12-24 20:14:15
问题 How can I add a layout (a HorizontalLayout to be specific) to a Flex UIComponent? I'm working on a large mobile application, hence I'd like to avoid using additional containers like HGroups and work with more lightweight components. As usual, any help would be greatly appreciated! 回答1: You can't and you don't really need to. You can't, because only Spark components were designed with an encapsulated layout mechanism. mx components were not and you can't assign a layout to UIComponent. You don

Add a button to save the picture in AIR or AS3

被刻印的时光 ゝ 提交于 2019-12-24 18:26:53
问题 I have a file attachment here. I tried I try to add a button for interface to download the image in the phone folder in AIR or AS3 Or make a photo wallPaper for phon. Can anyone help me?? And experience it in the attached file . 来源: https://stackoverflow.com/questions/29915396/add-a-button-to-save-the-picture-in-air-or-as3

Latest Facebook Graph API > only admin user can login-upload photos

吃可爱长大的小学妹 提交于 2019-12-24 16:21:11
问题 I'm having an issue with a simple photo upload application whereby only 1 user can successfully login-upload images. Any other user (different Facebook account) and I get permissions errors (user_likes,user_photos) Without getting code specific, does this sound like an application configuration issue? With the latest changes in the facebookGraph API, is it now necessary to submit the app for FB review, even if this is a kiosk based application (ie will NOT be the app store or on the web).?

Hooking into main application's onCreate method from Adobe AIR extension

ぐ巨炮叔叔 提交于 2019-12-24 15:33:21
问题 I am creating an ANE for Urban Airship, a service for sending push notifications (among other things). So far the integration has worked great but only when the app is open. When the app is exited, receiving a new push notification results in the app crashing with: 11-29 01:19:32.448 22340-22340/air.com.example.app E/Urban Airship Autopilot: Unable to takeOff automatically 11-29 01:19:32.496 22340-22440/air.com.example.app E/AndroidRuntime: FATAL EXCEPTION: IntentService[PushService] Process:

{FlashDevelop} Building iOS with AIR and FlashDevelop

你离开我真会死。 提交于 2019-12-24 15:14:10
问题 I'm having trouble using the following tutorial and flashdevelop template to build a flash project for iOS. http://www.codeandvisual.com/2011/exporting-for-iphone-using-air-27-and-flashdevelop-part-four-creating-an-air-certificate-and-compiling-to-ipa/ Whenever I compile my project (using FlashDevelop 3.3.4) I get an error from adl.exe saying "Error loading initial content". Using the iOS applicationpackager.bat, I get an error saying: application.xml: error 305: Intial window content SWF

flex edit menu operations on multiple textareas

不打扰是莪最后的温柔 提交于 2019-12-24 11:37:28
问题 I have a grid in which one column is having itemrenderer as textarea. My application is menu controled. Now I want to perform edit operations on the textarea using menu items. Like if I select some text from a textarea in the grid, then I select a menu item "Cut" then it should cut the selected text from the textarea. In this manner I would lie to perform all operations. I am not getting how to get that the operation is to be performed on which textarea? 回答1: inside your menu item click

how to keep a nativewindow on top

懵懂的女人 提交于 2019-12-24 10:49:03
问题 I need to keep a NativeWindow I am creating on top of the main window of the application. Currently I am using alwaysInFront = true, which is not limited to the windows in the application. I can successfully synchronize the minimize/restore/move/resize actions, so the top window behaves appropriately in those cases. Even though using this option has the drawback that if I alt-tab to other application the window goes on top of the other application. Because of the above I am trying to get it

How to solve “Native methods are not allowed in loaded code” error

北城以北 提交于 2019-12-24 10:47:54
问题 I want to let my app to run sound while the playbook in standby mode, I put this statement in the start up QNXSystem.system.inactivePowerMode = QNXSystemPowerMode.THROTTLED; Now when I debug the app on the simulator (not desktop debugger) I got this error VerifyError: Error #1079: Native methods are not allowed in loaded code. And this error I got also when using AlertDialog. Note: I am using Flash builder, and I have put the qnx SWC in the libraries path. .... so to solve these problems? 回答1

how to generate sample swf file using AS3

孤街醉人 提交于 2019-12-24 10:04:49
问题 is possible that I can create an Adobe AIR application to generate sample shape and save it as swf file? I know how to create shape, color, save it as image, but I want the output to be vector file like what flash can create, swf file format. thanks! 回答1: Try AS3SWF. AS3 to SWF You can generate and save swf files from as3 (check out the examples folder once you download the code) 来源: https://stackoverflow.com/questions/4903227/how-to-generate-sample-swf-file-using-as3