I would like to get this right... adding assets to the Library increases RAM usage?
I'm almost done with a fairly large RPG containing more than 2000 bitmap resources and music. When I run this app in iOS, Android or on PC, my RAM usage is well above 100 MB. I have no script code. The game is divided into about 100 classes AS3 (1 per level).
As an experiment, I deleted all my code and packed an app 'empty '. My RAM usage is always greater than 100 MB. This leads me to believe that my entire libraray is loaded into RAM at the spearhead of my application.
Is there a way to control or prevent this? Class Loader? External assets EFA?
Everything you have built in your application is loaded into memory when the application is deployed. There is nothing you can do about it.
SWC will not help. CFC is used, primarily, as an external when creating library and all of the objects referenced in the creation will be always compiled into the application unless you use RSL and load additional libraries when running. By checking "merged into code" you always ask the compiler to include all assets. If you merge in code - you will need to write the logic that loads libraries during execution.
The main issues in your case, it's that you compile media files in the application. Videos, sounds and, to a lesser extent, the images are the biggest hogs memory. You must load them during execution - do not include them in your application. In particular, it comes to sound files - Flash is very good runtime playback/streaming.
When I say "runtime loading" I don't mean not necessarily load from the network/Internet. Given that you develop mobile applications (I guess with air)-you can write these assets in the file system during installation and then recover as needed.
Tags: Adobe Animate
Similar Questions
-
I would like to remove this program and return to the home page of yahoo.
I want to just remove firefox and return to my yahoo homepage. I do not understand this program and I can not get my favorites back with all the information of my Bill.
In order to set up your page Yahoo as your Home Page, see this help article on 'How to set a Home Page'.
Don't know how you lost your bookmarks, but this help article about 'Favorites lost' can help.
-
I have CS5 drives that were installed on an old laptop which is dead. I would like to reinstall this product on a new computer. I installed the disks on my computer, but I can't activate the product. Can you help me get a new serial number?
As far as I know, Adobe won't give you a new serial number
Mac or Windows and EXACTLY what version of the operating system?
Recent Mac AND Windows operating systems have been known to cause problems "weird."
Invalid License http://helpx.adobe.com/creative-suite/kb/error-serial-number-valid-product.html
-http://helpx.adobe.com/creative-suite/kb/invalid-serial-number-cs4.html
-
Thank you, Ned. I got it to where the program opens behind the Welcome screen. I would like to get rid of have that arise every time. This isn't in CS5 - but at least I get the program!
I have no familiarity with the program to be able to tell what to do. If it's like other Adobe software, there should be a setting in preferences (assuming that there is an option) that allows you to dictate how the programs opens.
In the software that I use the most, for example, if you select Edit-> preferences, the Panel that opens has what see you below where you can choose what the program has when it is launched...
-
Hello, I would like to get a refund for the software purchased from Adobe. I have 14 days to do so, but I can't find the place to cancel the order.
Thank you!
You may please check out the link below for instructions on cancellation.
Cancel your membership creative cloud
For more information you can contact the Support from Adobe by clicking on the link below.
Please make sure that you are connected to the right Adobe ID.
Hope this will help you.
Kind regards
Hervé Khare
-
Hi, I just bought a used 2012 Pro 13 "Macbook. It came with iMovie installed. However, I would like to get the update to iMovie. He said: I can't update iMovie because a different Apple ID was used to download iMovie and I get errors. How can I update iMovie?
Error message #1: these applications cannot be accepted by your Apple ID. These applications have already been assigned to another Apple ID, and they will be available in this list of purchases Apple ID. If you don't have access to this Apple ID and would like to receive future updates, you will need to purchase applications.
Error message #2: update are not available with this Apple ID. This update is not available for this Apple ID either because it was bought by another user or the item has been refunded or cancelled.
Error message #3: we could not complete your request. There was an error in the App Store. Please try again later. (null)
Unfortunately, free updates are available to the original purchaser of the computer. The iMovie is locked to his Apple ID, so unless you have to grab his ID, you can buy iMovie.
-
Update Windows automatically restarts the computer. I would like to disable this feature. I'm running a machine business with complex projects requiring a configuration long and delicate. The details below:
Type of operating system: Windows 7 Ultimate
Problem: Status of the project lost after auto restart during the night
Require: A method of disabling automatic restart after an automatic update is happening.
Tried: I already tried looking in the registry for an appropriate key change, but no have been found appropriate.Aelryn,
You can configure Windows update to meet your needs, for example, download the update and then let me choose when to install the same. This way you always get the automatic updates but you chose when and where and how to install updates at a time that is convenient.Then I suggest to change the Automatic Updates settings to meet the needs of PAHO.
Choice, you can turn off to THE (not recommended), you can adjust to download updates only and allow you to install them at a convenient time, you can adjust information only, or you can leave to do what he likes.
If you update, you must restart sometime in the case otherwise you are not protected and you might as well do not update at all. Everything is a matter of choice. One size does not fit all, so a choice can be made. I have updates informed me only, then I decide what, when and how to do to install the updates. It's my choice.
FYI -.
http://blogs.technet.com/Mu/archive/2008/10/02/Windows-Update-and-automatic-reboots.aspx
TaurArian [MVP] 2005-2010 - Update Services -
I would like to get a list of files & folders "GlobalCatalog" backup to make it easier to restore
I would like to get a list of files & folders "GlobalCatalog" backup to make it easier to restore
Hello
You can try posting the question in this forum to get a better resolution for this problem:
http://social.technet.Microsoft.com/forums/en/winserverGP/
It will be useful.
-
CODE - 641 Windows update has encountered an error of unkonwn. How to get this right
CODE - 641 Windows update has encountered an error of unkonwn. How to get this right
Try to run the tool:
-
I am asked to reset my password Windows 7 every month or two and I would like to disable this feature. How?
Original title: password Windows 7
I am asked to reset my password Windows 7 every month or two and I would like to disable this feature. How?
http://www.SevenForums.com/tutorials/73224-password-expiration-change-max-min-password-age.html
-
I bought a pc used with windows 7, however, the product key is not valid. I would like to get Windows 8. What would be my best course of action?
In my opinion your best course of action would be to buy and clean, install a license of system builders.
You never know what comes with a pirate windows. -
I would like to get the list of all devices on which my creative cloud has been activated for the last six months or a year
I do not think that information... Adobe titles represent the only link I know following your accounts, but not where the programs are installed
https://Accounts.adobe.com/ , then click on Plans & products above to find a list of your programs and your serial numbers
-
I would like to know this pack of mud that I have to buy for all programs?
Hi all
I have a company with two workers and I would like to know this pack of mud that I have to buy for all programs?
They also know that if we are two workers, I have two licenses or with me OK?
Hello
Please see the links below for help:
Pricing plans and creative Cloud membership | Adobe Creative Cloud
Manage your cloud of Adobe Creative for the composition of teams
Hope this helps!
-
I would like to cancel this signature now, pls?
I would like to cancel this signature now, pls?
Adobe may only cancel a subscription, no other users in an open forum
Cancel see answer #1 in https://forums.adobe.com/thread/2023066 - includes a link to Chat from Monday to Friday
-
I would like to add this product to another computer of an employee
I would like to add this product I'm buying one of my employee's computer. How can I do this
Anubha Goel says:
Hi ~ graffiti,
One person can install and activate Acrobat on maximum two computers using its letters of claim of Adobe ID (if subscription) or serial number (if allowed).
Kind regards
Ana Maria
Thank you. That's what I thought. I think that the OP wants to install on two machines for two people to use. This would not be allowed.
Maybe you are looking for
-
IMovie 10 does support AppleScript these days?
Before that I spend my meager $20 on iMovie (Yes, I know this is trivial, but I already use Avid, first, determination and sometimes FCP X, I do not need an editing application) can someone tell me if she accepts AppleScript? I need to be able to cho
-
I installed my new phone with someone from another itunes
I set up my new phone with someone from another iTunes
-
Toshiba HDR5010 DTT recorder will not turn
I had a few problems with this camera crashing to which I can live with a quick restart and return to normal but now it turn on at all. I have the red light comes on but no image, and it seems to have frozen I can't move channels etc.. I contacted to
-
Repeated (-4 and -43-54) error codes
Hello. I suddenly have real problems with my Mac (iMac desktop into 2007, El Capitan 10.11.12 running version). It is possible that this has happened after upgrade to El Capitan as well that I've updated several weeks ago, that I have not used it muc
-
Carbon X 1, 2015. Defective lower cover?
I just got my X carbon 1 today and while the device itself is really nice, with a touchscreen incredible (QHD/no), I noticed a 'problem' on mine: My background covers seems to "crush" in the vicinity of the middle Center screw (side port, not the sid