air

Flex: Caching images in list item renderer?

会有一股神秘感。 提交于 2019-12-22 05:17:44
问题 I have a List and the item renderer displays an image. Whenever you scroll the list, and the item renderer refreshes, it redownloads the image. Causing there to always be a delay. Is there some way of caching it so it doesn't have to redownload every time causing a delay in showing the image every time you scroll the list? Thanks! 回答1: Here is nice solution with source code http://demo.quietlyscheming.com/superImage/app.html 回答2: You'll have to implement your own caching. I would store all

Can an Adobe AIR Application run via the command line output to console?

老子叫甜甜 提交于 2019-12-22 05:01:13
问题 I have an AIR application that takes command-line arguments via onInvoke. All is good, but I cannot figure out how to print some status messages back to the user (to stdout / console, so to speak). Is it possible? Even a default log file for traces would be fine, but I can't find any info about it anywhere. Do I need to create my own log file? Now that'd be silly. 回答1: Take a look at CommandProxy. It is a low level wrapper around your AIR application that lets you send command from AS3 back

Augmented Reality on Mobile phones

我们两清 提交于 2019-12-22 04:42:58
问题 I am interested in implementing an Augmented Reality application for mobile phones using Adobe Flash Platform. Can you please let me know if any sources is available for me to find out how to start? I'm not sure what software I need to use to implement AR but as I can understand I need: ARToolKit Marker Generator to create the marker matching with the 3D image, then FLARToolKit to analyze the image from the marker and Papervision3D to create an object that shares that same space with the

Check if value is a number

拈花ヽ惹草 提交于 2019-12-22 03:46:39
问题 How can i simply check if a returned value of type int or uint is a number? 回答1: Simple: if(_myValue is Number) { fire(); }// end if [UPDATE] Keep in mind that if _myValue is of type int or uint , then (_myValue is Number) will also equate to true . If you want to know if _myValue is a number that isn't an integer(int) or unsigned integer (uint), in other words a float, then you can simply modify the conditional as follows: (_myValue is Number && !(_myValue is int) && !(_myValue is uint)) Let

clone flex component

不问归期 提交于 2019-12-22 01:01:00
问题 I am trying to duplicate a flex component at run time. For example if i have this mx:Button label="btn" id="btn" click="handleClick(event)"/> i should be able to call a function called DuplicateComponent() and it should return me a UI component thts exactly same as above button including the event listeners with it. Can some one help me please?? Thanks in advance 回答1: Do a Byte Array Copy. This code segment should do it for you: // ActionScript file import flash.utils.ByteArray; private

Dynamically Creating Flex Components In ActionScript

你说的曾经没有我的故事 提交于 2019-12-22 00:15:24
问题 Isn't there some way to re-write the following code, such that I don't need a gigantic switch statement with every conceivable type? Also, if I can replace the switch statement with some way to dynamically create new controls, then I can make the code smaller, more direct, and don't have to anticipate the possibility of custom control types. Before: <?xml version="1.0" encoding="utf-8"?> <mx:WindowedApplication xmlns:mx="http://www.adobe.com/2006/mxml" layout="vertical"> <mx:Script> <![CDATA[

Adobe AIR SharedObject - Android/iOS - On update not found

孤街浪徒 提交于 2019-12-21 23:47:45
问题 As the title states, my user's on iOS and Android are reporting their save data has been deleted when I push an update to the respected storefronts. The game saves and restores data properly on application load and exit. I have not changed any save information locations or package names... Just mere bug fixes, build, push. Any clarification would be helpful, or proposed redundant data backup scheme's I should pursue to ensure the end-user experience is from henceforth not affected negatively.

how can design picker in android using adobe flex views

随声附和 提交于 2019-12-21 22:50:36
问题 i am implementing adobe flex application in this application i am using picker type view using adobe flex in adobe flex builder how can implement design in this view please forwrad some suggestion i am new in adobe flex development thanks in advance Narasimha 来源: https://stackoverflow.com/questions/7872826/how-can-design-picker-in-android-using-adobe-flex-views

FLEX: dialog not display immediately

核能气质少年 提交于 2019-12-21 17:47:52
问题 In an AIR application I have the following code: theDialog = PopUpManager.createPopUp( this, TheDialogClass, true ) as TheDialogClass; theDialog.addEventListener(FlexEvent.CREATION_COMPLETE, cpuIntensiveCalc); At the end of cpuIntensiveCalc the dialog is removed. The dialog informs the user that "something is going on, please stand by." The problem is that cpuIntensiveCalc starts before the dialog draws. So the user experience is that the application freezes for 10 seconds with no indicator,

What material did you use to learn Flex/Air, and with ColdFusion + BlazeDS/LCDS? [closed]

不羁岁月 提交于 2019-12-21 17:41:16
问题 As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance. Closed 7 years ago . What material did you use to learn Flex/Air itself, and with ColdFusion + BlazeDS/LCDS? 回答1: Flex in a Week http://www.adobe.com