The output html when rendering on browser is slow

Html when rendering on browser output is quite slow. Made real on Animate is 12 seconds. When the HTML is displayed, it takes up to 26 dry

performance optimization is a complex subject.  This is an excerpt of development of Flash games: in a Social, Mobile and 3D world which deals with the performance of swf, not html5, but there may be useful especially when you manage vector shapes.

Optimization techniques

Unfortunately, I don't know any way completely satisfactory to organize this information. In what follows, I discuss memory management first with sub-themes listed in alphabetical order. Then I discuss the management of CPU/GPU with subheadings listed in alphabetical order.

This may sound logical, but at least, there are two problems with this organization.

1. I don't think it's the most useful way to organize this information.

2. memory management affects the CPU/GPU use, so that everything in the section of memory management can also be listed in the section CPU/GPU.

In any case, I'll also list information in two other ways, from the easiest to the most difficult to implement and more for much less.

Two of these later inscriptions are subjective and dependent on experience developer and capabilities, as well as environmental test and the test situation. I very much doubt there would be a consensus on the order of these lists.  However, I think that they are still valid.

Easier to the more difficult to implement

1. do not use the filters.

2. always use the reverse for loops and avoid loops and avoid while loops.

3. explicitly stop timers for their loan for gc (garbage collection).

4. use the weak event listeners and remove headphones.

5. strictly type variable when possible.

6. explicitly disable interactivity mouse when interactivity smile not necessary.

7. replace dispatchEvents with callback functions whenever possible.

8 it would be gc stop sounds for the sounds and SoundChannels.

9. use the DisplayObject most basic need.

10. always use cacheAsBitmap and cacheAsBitmapMatrix with air applications (i.e., mobile).

11. reuse of objects when possible.

12 Event.ENTER_FRAME loops: use different listeners and different listener functions applied to DisplayObjects as little as possible.

13. the pool instead of creating objects and gc objects ' ing.

14. use partial blitting.

15. use step blitting.

16 use Stage3D.

Biggest advantage less

1. use the blitting Stadium (if there is enough memory system).

2. use Stage3D.

3. use the partial transfer.

4. use cacheAsBitmap and cacheAsBitmapMatrix with mobile devices.

5. explicitly disable interactivity mouse when interactivity smile not necessary.

6. do not use the filters.

7. use the DisplayObject most basic need.

8. reuse objects whenever possible.

9 Event.ENTER_FRAME loops: use different listeners and different listener functions applied to DisplayObjects as little as possible.

10. use the reverse for loops and avoid the do loops and while loops.

11. the pool instead of creating objects and gc objects ' ing.

12. strictly type variable when possible.

13 use weak event listeners and remove headphones.

14. replace dispatchEvents with callback functions whenever possible.

15. explicitly stop timers on loan for the gc.

16 stop sounds for the sounds and SoundChannels be gc would be.

Tags: Adobe Animate

Similar Questions

  • The wrong exit when rendering quality

    Hello everyone. I use efter effects to create animated GIFs that I don't have Adobe Edge. The problem is that the output is terrible! Please tell me what I do wrong because this project is very important for me.

    You can see the result and my settings in the following images:

    Comp 1_2.gif

    options.png

    The output of gif in After Effects is horrible.

    If you want to create an animated gif and then render a QuickTime movie using the animation codec and then then render a QuickTime video using the codec animation and then open the movie in Photoshop and create animated gifs it.

  • Gaussian blur effect causing of the black frames when rendering.

    I'm only using an effect in my video, it is the Gaussian blur, and in the Viewer, it shows the effect, but it shows black frames randomly within the Builder Preview, I thought it was just a random previewer problem.

    I then made the video but when the blur effect is applied is to show black executives at random in the video.

    Talked to customer support and found out it was an effect of Gaussian blur twice on the same chassis as the cause for trouble some sigh *.

    But thanks for the info on the media cache, I did know about this.

  • The output file driven by edge browser support

    I noticed that the published html files running in IE8. Can someone tell me in which browsers (with version numbers) tracks files smoothly?

    Hey metalshan,

    We support the latest stable version of modern browsers, plus a version back.

    See you soon,.

    Sarah

  • Update of the firmware r7000 - when, why it is so slow?

    Hi, after that the defective v1.60 firmware was pulled from the server left with an obsolete feature missing in version 1.40.

    I wonder:

    1. When to expect a new fixed version to be released?
    2. Why support firmware for the 'old' models is so painful slow when most users use these devices?
    3. If Netgear wants to 'force' costly when hardware upgrades older routers could do the same job perfectly well.

    Very frustrating!

    Hi James,

    I would mark this as my accepted solution but it won't since I haven't started this topic.

    The update of this beta version (1.0.5.62) was a good choice for me. I continue to experience a small fluctuation in speed with the channels 2.4 ghz but now it is acceptable.

    Since I have configured the router when bought automatic update of firmware how to change that if it is not so I have the same problem when

    He forced the 1.0.6.28 that messed up the speed and stability, I'm one who before 1.0.5...

  • In the Question slide, when I hit the next button, the appearance of the faded button off in the output HTML 5.

    Hello

    I am allowing the next in the Captivate 7 questionnaire slide button. I use these slides as CYUs. When I post the slides, the web version looks fine, but the HTML 5 output indicates the button next to the washed out look. I tried to create a new slide quiz from a separate file and insert it here. always the same question is cropping. Please help solve this problem.

    In view of the reference image.

    next button faded look.PNG

    Then. you see where the required field says "answer to everything - the user must answer each question...» »

    Well... THAR IS IS PROBLEM!

    Assign the optional and see if that solves your problem.

  • HP 1212 was dark on the output lines when using the charger

    My HP1212nf printer gets dark on output only lines when the charger is used.

    It should be little dust somewhere.  Be sure to thoroughly clean the area mentioned Bob.

  • Get the error on the output parameter when creating the effect

    Hi guys, I develop an adobe after effect plugins recently, thanks to all those who help me during this period. Now, when everything all right and I want to build it on a release, I got the following error:

    11.png

    44.png

    Here's my output setting:

    22.png33.png

    what I'm missing? However, it works ok on the debug version.

    Hello

    I found the solution for the release configuration:

    Trun on the links/debug Editor, then set Generate Debug Info--> optimize the debugging (?) DEBUGGING)

    Thank you all

  • How to remove spaces in the output HTML document?

    I read data from database, then I do it in HTML + CSS + js out with some custom tags format.
    I use paging and exit only 10 records per page - there is no some long fields, but many conditions CFIF, etc..
    I noticed that there are a lot of white space, which could be lost.
    However, when I use cfprocessingdirective or enablecfoutputonly - I see almost any difference compared to not use them: places are in their places (like < tr >... < td >... etc).
    Also - I can't put < cfsilent > everywhere, because there are TONS of cfif terms of the code...

    What should I do? :( Maybe there's some magical setting in the CF for this administrator.

    There is a CF administrative setting - enable Whitespace Management on
    the settings page.

    Other management tools of the white space you mentioned can also be made to
    work. But you don't have to code your pages with white spaces in mind. For
    example, using works even better if you can group your logic in
    blocks. Even with enableoutputonly. If your page is a giant
    you won't see a lot of improvement with this option.
    To make it work, you need to have only the tags all about what is
    in fact intended to be sent to the client any of of the processing logic.

  • Flash Player plugin that displays the output window?

    Hey there,

    I remember reading about a Flash Player plugin that shows the output window when mistakes happen, but don't remember the link or where I read about it.

    Does it exist or did I did it upward?  I would use it if it can be useful when testing on Flash you can hear it on the web.  If someone has a link to find out where to download it from the adobe site that would be of great stuff.

    http://www.Adobe.com/support/flashplayer/downloads.html

    Download a debugger player. they get a bit of a nuisance, because when you install it in your browser it takes on errors for everyone and you told about it in a popup. eBay banners seem to be particularly mounted bug.

  • Captivate 9 - mailto: links appear not to if the text box contains the variable (HTML 5)

    Hello

    If I create a link mailto: link using text that contains a variable, it is not displayed in the output HTML 5. The text is there, and the link works, it is not visible.

    Here is the slide in Captivate:

    Image 023.png

    If the slide is out 8 lines - 2 of each set of 4 should be links. The first are web links, the second are mailto: links.

    The result in a browser is:

    Image 024.png

    As you can see the link with the variable email is not displayed. Did the same thing on the iPad:

    File 21-10-2015, 11 56 37.png

    The link is there however, you can click in the box, it takes in the browser (or typing on the ipad) and a new email is created.


    Check if the source says:


    Image 021.png


    Anyone get this problem or knows how to fix?


    I think I must be missing something obvious? For any help or suggestions appreciated.


    It is a new installation of Captivate 9 - no preferences changed or the custom template used. Just a new project.


    Captivate on Windows 10 Build 10240 9.0.0.223

    Just in case someone else looking for this issue - Adobe he recorded as a bug (reference: 4100016).

  • CS6 Illustrator - How can I change the output settings?

    Hi, its really annoying that I can not change the output settings when I save for the web, something. I just mean Illustrator I want to create a new folder images whenever I have save something, and I don't want to add a _N at the end of the file name...

    Is there a way to change this?, I couldn't find it.

    Thank you.

    This feature has been removed from CS6:

    Quoted from this employee Adobe blog post on the new CS6 save for Web feature:

    The output, used parameters dialog box for formatting HTML file control, naming slice and manipulation of background image, has been removed.

    I didn't chance to find a workaround, but I'll keep poking around.

  • Thumbnails of photos appear when I am browsing through my photo files.

    I only had my computer for a month, and I have problems with the libraries of photos and dvd creation.

    1. many of the custom of thumbnails of the photos appear when I'm browsing the pictures of mu library.

    2. the creation of Dvd does not work.  I can't see a preview and it won't burn a dvd.

    Can I do to fix these?  Thank you, Linda Owen

    1. check the settings: -.

    Click on the organize button an entire folder > navigate to the folder and search options > Click view tab > make sure that the box against always show icons, never thumbnails isunchecked .

    If this is not helping then disable the thumbnail cache and let thumbnails of rebuld system again. To do this: -.

    i] open Disk Cleanup.

    II] uncheck all the entries except thumbnails.

    III] click OK.

    ------------------------------

    [ http://windows.microsoft.com/en-US/windows-vista/Troubleshoot-problems-with-creating-a-DVD-Video-using-Windows-DVD-Maker 2]

    S.Sengupta Media Center MVP

  • Many fonts render when Firefox opens the local html file

    I use a 3 rd-party program called Fontlist. He reads all the fonts in the Windows fonts folder and then uses a line of the user selected text to generate a html file on the hard drive that shows the line of the text displayed in each font. Because it is a program of the 3rd part, I have no control over it is programming html.

    When the generated html file is browsed with Internet Explorer, all fonts display correctly. When browsing with Firefox, maybe half or more fonts have a police-looking ordinary backup who suite. I was not able to discern any trend as to what type of font is displayed correctly or does not work.

    In the research online, the problem, I saw a hint that assigning false to security.fileuri.strict_origin_policy could solve the problem. I tried, and it had no effect. Also, in the advanced option to fonts and colors, I checked the box to let web pages to choose their own fonts.

    Would there be other parameters that would allow Firefox make virtually any standard font industry installed on the system? This can affect all 3 rd-party sources, not only Fontlist html files.

    The css generated by Fontlist puts no quotes around the family names of fonts, including those with a numeric parameter. This explains the part of chess, but not all.

    It is obvious that the html and css accepted by Internet Explorer is much more forgiving than FF.

    The Fontlist developer will have to address this issue.

  • Pup.funmoods virus of wha I seemed to be an update of the plugin mozilla when I open my browser

    Mozilla sent an update of the plugin today? When I opened my browser it's what came. The first update was for my digital canon. There were others - java, but I don't think that really installed. I did it first, and then returned to the gun and when I clicked that it wanted to install some other stuff that I've disabled with some difficulty. This is the time when updates to spread or id have been more cautious. When the installation is complete my search engine, the home page, the browser and who knows what had been hijacked. I ran AVG and superanti spyware. I scanned for spyware and pup.funmoods sweetheartand up.23 points

    See:

    If you have an older version of Java (less than 7U6 or 6U34) then Firefox may have disabled this version of Java due to security flaws.

    Oracle has published an update of Java to fix a security vulnerability in Java 7U6 and 6U34 and lower versions that each user should apply.

    Please update the version of Java JRE 7U7 or 6U35 because there is a security vulnerability in older versions.

    See the Platform Java > Java SE 7U7 or Java 6U35 (download the JRE)

Maybe you are looking for

  • custom network configuration

    It does not seem possible to specify custom netwirk as DNS server settings.It seems that someone has already asked this question, but it has been misunderstood and I can't answer.

  • ProDesk 600 G2 Mini: A Mini 600 G2 a NVMe M.2 SSD startup ProDesk?

    Hello I recently bought a G2 Mini ProDesk of 600 which I am very happy with. However, I can't the computer to start from the m2 NVMe SSD I installed it. There is no problem to use it as a second drive in Windows and also no problem Windows installati

  • Where to buy STOR. E ALU 2, 3.5 "external hard drive 2 TB of capacity?

    Hi all I am looking to buy two STOR. E ALU 2, 2 TB disks 3.5 "to replace the two ALU 1 TB drives that I currently have. Toshiba press releases and information all indicate these drives should be available in the 2nd quarter of this year. We are alrea

  • Graphics card compatibility?

    Hello I recently acquired a R7 of ASUS 260 x of a friend of mine and I was wondering if my computer would be compatible with is if I have improved the power supply. Here is my computer: http://h20564.www2.hp.com/hpsc/doc/public/display?docId=emr_na-c

  • How to create and use using the .csv file?

    I have one makes IAM csv file to create use... What are the steps to follow. I am looking for this last 3 days... .data is not updated in the database. I hope that iam not creating do not properly use... Please send to [email protected]