Adobe AIR, by working on top of a VM, leaves the performance to be desired in relation to the device’s native language (either JAVA or Obj-C). This is further compromised when using many objects on the display stage or a code line "too long".
"I work with Flash and Adobe AIR and know how much it bothers, even on Desktop."
Some tips I took as a resource to decrease these crashes:
- Avoid using "alpha = 0" and whenever possible, use "Visible = false". With alpha, although the object is not seen, it continues on stage and being rendered. With Visible this does not occur;
- "Copy" objects and not "Duplicate". Whenever possible use/add the same object on the screen;
- Be careful when using filters and effects in Movieclips and Textfields, such as shadows, beziel, etc... This in conjunction with an interpolation requires a lot of processor;
- There is a tip that helps a lot: render the objects on stage as Bitmap: Estates -> Showing -> Render -> Export as bitmap;
Other than that I recommend testing on other devices and checking the performance. Many of the apps I created were simple, but without these "lag" problems, I think these tips will help a lot.
Unfortunately, Adobe AIR apps face this problem, which "there is no cure, only treatment".
Welcome to [en.so]! Your question was closed by the community because with the data provided it is not possible to give a clear and objective answer. However, you can edit your question by adding logs, error messages, application code, and something that makes it possible for someone to answer the question. Also feel free to create new questions or even answer, but I suggest reading about how to ask a good question in our Help Center.
– utluiz
Good evening. My old question was edited on account of someone not having fully understood. So let’s go there. I would like to know the following: Is it worth developing apps for android using the Flex Mobile Project? I ask this, because I have been trying to develop a chat, with custom listview for video, images etc. But lag is too long. Even touch. Hangs all the way: Touch, when it goes from one screen to another etc. Has anyone ever had a problem with that? In experience, someone finds it advantageous to develop for android or Ios using Flex or Flash?
– RenatoMateusX
I re-edited the question to make it more objective and perhaps allow its reopening.
– Bruno Augusto
"is worth it" still shows how subjective the question is. It must remain suspended.
– Mansueli
First of all, thank you for your reply. But it’s simple, just someone with experience say whether it’s worth developing for mobile devices, using ADOBE FLEX or FLASH technology. It is now clear?
– RenatoMateusX
I edited and reopened the question, but I still strongly recommend following the @utluiz guidance above: if the answer is that Flex/AIR itself is not the cause of the problem, it is impossible to help you without seeing your code.
– bfavaretto
I am happy with the help of the moderators! The AS3 community is finally growing.
– bio