The list with many images

Hello!

I have a list with a lot of images in the itemRenderer, over 500.

I use virtualization on this list.

When people scroll quickly down, it can take a bit to load images.

Issues related to the:

1. in what order the list control to load images? Up and down the entire list or Topp down only the visible part?

2. is there anyway I can give priority to a certain image to load first on others? The images have the source property set to a relative path on the server.

3. is there anything I can do to speed up the process of loading in general?

Thank you!

The list does not load images, because of your item converter.  I suppose you load these images by substituting the data setter method in the rendering engine.

When the list of the first loads it creates just enough converters to show what is in view (due to virtualization), let the top 10 items.  This means that the first 10 images will be loaded, but no other images will be loaded unless you scroll the list to expose new items.  If you want to have some images available before others so you can have your application load them if its not busy and in this way, they could be available before the user scrolls.

Even if you were to load all images before creating the list you might seem still some flickering when scrolling because what are they are recharged in as user autour scrolls.  To remedy this, you might want to consider caching the images as they are loaded, there is an example here: http://flexponential.com/2010/01/10/caching-images-loaded-from-a-spark-item-renderer/

Tags: Flex

Similar Questions

  • Replace the link display the basket with an image

    Hello

    I need help do the above.

    It worked but clicked the wrong button and restore to the original model.

    I searched through the 'help' and found this _image http://KB.worldsecuresystems.com/654/bc_654.html#main_Replacing_the_View_Cart_link_with_an but the link no longer works. It's in a post that Mario has implemented

    The solution involves no javascript code just a change to the tag?

    Hello

    In my view, there is an option in the tag, but I don't remember off the top of my head.  I'll check with our team for this info.

    In the meantime, the solution is to update your 'modulestylesheet.css' CSS and update the background with an image file attribute.

    Here is the result on the front-end server.

    I hope this helps!

    -Sidney

  • Select the list with doSubmit ('SAVE')

    Dear members,

    Please do not kill me for that matter...

    I use APEX 2.1.0.00.39 delivered with XE. What I need is a list of selection within a form region indicating the content of a source LOV which is a column of data. If the select list is replaced by another value, it should initiate a doSubmit ('SAVE').

    I tried the list with submit - did not work. I tried to change the STI to a selection list and:
    HTML Form Element Attributes: javascript:doSubmit('SAVE');
    But both times the result I have the same thing: when I change the select list of another element, the form is committed, but after reviewing it, the original of the select list item is selected again...

    What I am doing wrong?

    Best regards
    Johann

    Hi Johann,.

    The parameter must be defined:

    onchange="javascript:doSubmit('SAVE');"
    

    What are the parameters of complete Source, you have for the item? You use any calculation a process on the question?

    Andy

  • Fill the list with Instances

    Hi all

    Is it possible to fill the results in a drop-down list with the name of the entity instances.

    for example, I instantiated instances 4 x by the name of the child as part of the entity of children.
    HARRY
    BARRY
    SALLY
    LARRY
    Then on a separate screen, I want a drop-down list to be filled with the name of the child.

    for example
    Maybe, I have a question:
    what is your favourite child (which is a drop down showing 4 instance names (HARRY,BARRY,SALLY,LARRY)
    I'm on v10.1


    See you soon

    Hello

    There is a way to make this out-of-the-box, but all depends on your data model.

    I assume here that you have 2 entities, the person and the child. The child has an attribute called 'name of the child. "

    Creates a one-to-one between the person and the child relationship, that he calls "the child preferred person '...

    Then, create an individual question screen. Add a control to the "relationship of entry" to the screen in question. For the 'legend', write something like "Please choose your favorite child." For the "attribute" display, choose the name of the child.

    This will display the question exactly as you want - it will ask the user to select from a list of all children.
    Of course, if the person can have many favorite children, create a relationship one - several. However, this will display the names of the children as the boxes, because the user is now allowed to select more than one.

    If the relationship is just together, you can then use this relationship to access the name of the favourite on the level of the individual child (using InstanceValueIf), or you can run the rules that apply only to the favorite child.

    It's just a suggestion that Ive just tested in 10.3, I did 10.1 at hand at the moment but don't remember which is new to the brand (others, please correct me if I'm wrong). Give it a go, see if it works and get back to me, if it's not. If this does not work on 10.1 you should certainly consider the upgrade to 10.3 for a host of other reasons too. Otherwise, it is achievable with a custom control.

    See you soon,.
    Ben

    Ben Rogers
    Senior Consultant - Monad Solutions
    http://www.monadsolutions.com

  • no selection in the list with custom itemRenderer

    Once an itemRenderer custom, consisting of a canvas with image and label, submit to a list control that list loses the ability to choose. the selectable attribute is set to true. There are no managers in the renderer that can eat the event.

    How can I provide the itemRenderer custom without losing the functionality of the list?

    Theoretically, you should avoid using containers as element converters because they are 'heavy' with the functionality you don't need.

    Best practice is to extend or to copy and modify ListItemRenderer.as. The source is in the file framework somewhere.

    This is not trivial, but it's not rocket science either. The Adobe code is quite clear and well commented.

    In addition, google: Alex Harui element converter, for a few examples by a master of Adobe.

    Tracy

  • CD sent the hospital with MRI images, but it does not load on my computer.

    original title: automatic load problems

    I have a cd that has sent to me by the hospital that contains images of MRI and CT scan on him and it will not auto load.

    Image radiographic CDs I saw included a viewer.  Open the CD using Windows Explorer and see if there's some looks a listed program.  Easily, you should be able to distinguish the MRI/CT images themselves programs (applications).

    If there is no application of visualization on the CD, you can either Google using the image files file extension or see if any of the applications here works for you: http://www.idoimaging.com/finder

  • Field in the list with 2 columns

    I am creating listfield with two columns as follows [2 |]  Cokes].

    There is an example on how to do this?

    There is an article on the basis of knowledge to developers to add checkbox to a field, but I don't see anything on the creation of several columns.

    Maybe I can get away with adding a field of text instead of a checkbox or have two fields next to the list and sync.

    any suggestions?

    ListField on nature has a great column.

    You can override drawListRow() to ListFieldCallback to divide each row number of columns.

    In this case, you will need to control the width of each column using the class font getAdvance() method that returns the width of the displayed string. And if you combine graphics and text in columns, you will need to also use getWidth() instance method of the Bitmap class to calculate the width of each column.

  • Details of the employees with their image

    Hello

    I have an Employee Table and each employee has an image. I use the type of region as the anonymous Pl/sql block. I want to view the details of employee with their Image. How can I do this?

    For work on what happens with P6_PRODUCT_IMAGE, we must continue to seek a single application - see also pages 6, there is an automatic line extraction process - it is vital for the mechanics of image display in the report.

    This help in your understanding peut

    https://forums.Oracle.com/message/3861537#3861537

  • Select the list with the list of dynamic values with more than 4000 tank of query

    Hello

    I have no application where users can store SQL queries in a CLOB column. This query is then used to populate the list, select a dynamic element through LOV. Following the code returns the query for dynamic LOV used to populate the select list. It works fine except when the length of the lv_sqlStatement becomes more than 4000 characters. Then application crashes with "ORA-06502: PL/SQL: digital or value error: character string buffer too small" when Select the list item rendering.

    Any ideas how to get around this problem? Any help is appreciated. Do not say to them to write shorter than 4000 queries because I can't (it's operational requirements).

    DECLARE
    lv_sqlStatement end_user_set.sql_statement%type;
    BEGIN
    lv_sqlStatement: =: P2_SQL_STATEMENT;
    return ' select the label, value of (' | lv_sql_statement | t ')
    To_char (t.value) if not in (select value from end_user_set_member eusm)
    where eusm. EUSRSET_ID = ' | : P2_EUSRSET_ID | ')';
    END;

    I just blogged about this problem and posted a solution. See this announcement:

    http://www.deneskubicek.blogspot.de/2013/03/select-list-with-dynamic-lov-and-Ora.html

    Denes Kubicek
    -------------------------------------------------------------------
    http://deneskubicek.blogspot.com/
    http://www.Apress.com/9781430235125
    http://Apex.Oracle.com/pls/Apex/f?p=31517:1
    http://www.Amazon.de/Oracle-Apex-XE-Praxis/DP/3826655494
    -------------------------------------------------------------------

  • Maybe need help a guru of the BC with catalog images

    Ran into a problem that I can't solve. In a Word...

    I downloaded a series of images to a Web site for use in the form of images of catalog. I did not check to see if they have the right size (and Yes, I've learned my lesson). Realizing the error, I have the group removed the larger images of their file via FTP and replace them with smaller images with the same name.

    On the next web page, I hope you see what I see.

    http://rocorescue01.2121customcontact.com/rescue-equipment/hardware

    All the images are the same proportions and dpi (90x90px at 72 dpi). The HTML and CSS are the same, and all are reading from catalog display Module.

    Yet, some of them seem to be reading from the larger images that I already deleted. There are others who did the same yesterday, but they seem to have corrected themselves. I left my browser, emptied the cache, but no luck. I use Firefox, but Google Chrome displays the same thing.

    My only thought is that perhaps the British Colombia uses a cache image which should have been deleted somehow? This is why I plead for an employee (or guru) thoughts.

    Here's a hat from small screen to illustrate my point.

    catalogimagesissue.jpg

    -Chuck

    Thanks for the heads up Chuck.

    This could be a problem with caching on the side BC.  I activated the option to clear the cache of varnish for the site so this should hopefully solve your problem.

    I would like to know if it is still problematic.

    See you soon!

    -Sidney

  • The list with the variable row height

    Hi, please look at the example below

    What I do is:

    -J' I create an item in list with variableRowHeight set to true.

    -The dataProvider contains 2 numbers: 2 and 3

    -In the itemRenderer, this causes in progress of creation, respectively 2 and 3 buttons

    -As you can see, the height of the list is badly calculated, a scroll bar appears.

    -When you switch 2 and 3 (so that the table becomes 3 and 2), the list is too large.

    -I could make a custom list class and override the method of measurement, but I can't understand what to measure. I should be able to walk through the itemRenderers and measure their height.

    Any ideas?

    THX,

    Dany

    <? XML version = "1.0" encoding = "utf-8"? >
    " < = xmlns:mx mx:Application ' http://www.Adobe.com/2006/MXML "layout ="vertical"creationComplete =" init () "> "

    < mx:Script >
    <! [CDATA]
    Import mx.collections.ArrayCollection;

    [Bindable]
    private var dp:ArrayCollection;

    private function init (): void
    {
    var a: Array = [2, 3];
    DP = new ArrayCollection (a);
    }

    []] >
    < / mx:Script >
    < mx:List width = "100%" dataProvider = variableRowHeight "{dp}" = "true" rowCount = "{dp.length}" >
    < mx:itemRenderer >
    < mx:Component >
    < mx:VBox >
    < mx:Script >
    <! [CDATA]
    Import mx.controls.Button;
    override public function set data(value:Object):void
    {
    Super.Data = value;

    If (this.numChildren == 0)
    {
    for (var i: int = 0; i < value; i ++)
    {
    var b:Button = new Button();
    b.label = "Row" + value;
    this.addChild (b);
    }
    }
    }
    []] >
    < / mx:Script >
    < / mx:VBox >
    < / mx:Component >
    < / mx:itemRenderer >
    < / mx:List >
    < / mx:Application >

    Sorry, it's a method on a list called measureHeightOfItems.  The results,

    Add viewMetrics.top and down and you should have the exact size of the

    List.

  • Select the list with propose pulling the values of %

    Hi all

    I have a tabular presentation of data app and from views of the choices selected in the 'list of selection with submit' the post, it works very well for the chosen values, when I choose '%' I want to display all existing records in the form of tables, but instead he said: "no data found". How to solve this? Kindly help and advice.

    ex:

    Query tabular-

    Select a, b
    table
    When a type: POINT

    Agenda:

    Type: select the list to submit
    Named LOV:
    Select a d, a r
    from table_recherche by 1

    Receive your answer.

    Thank you and best regards,
    Senana

    Hello

    You have to check what is the value returned by the selection list when you select '%' in the select...
    There is a null value to display field where you can enter '%' and the return NULL value you enter 0

    then change your query in a table
    Select a, b from table when one like: POINT GOLD: ITEM = 0

    Kind regards
    Shijesh

  • Select the list with a shipment does not save to the database

    OK, I have a form with several fields (text, radiobox, selection list, display text). I have one of these lists of selection fill a display in the text field. When I chose a selection of the selection list, she filled the screen in the text field with the correct information but erased all the other information that was the inscription in the other fields. I searched the forum and found that the selection list should be a selection with mailing list and the branch page on itself, which works, but now these 2 fields information is not saved in the database. All other fields are saved, but not both. Anyone know what im missing? Thank you

    Deanna

    Hi Deanna,
    First the display as a text cannot insert data into the database. It can only display data from database. I guess you do not want the user to enter these areas, and that's why you use display as text field.

    There is a good way to resolve this situation. Say, you have 3 select list P1_ITEM1, P1_ITEM2, P1_ITEM3 in your page. For the change of P1_ITEM1 the screen Select the list and the LOV type in your query, assuming you want the value to be retrieved from a table. Therefore, type-

    Select emp_id, ename from emp;

    type the default value and null -1 and display null YESvalue. Make sure that under the type of source, you have the selected with the correct name database column.
    for P1_ITEM2 to the section LOV retype your query - i.e.

    Select mng_id, executive pay where emp_id = NV('P1_ITEM1') or NV ('P1_ITEM1') = 1

    Basically, this statement updating the data in the list select second after the first selection. type the default value and null -1 and display null YESvalue. Make sure that under the type of source, you have the selected with the correct name database column.

    Do the same for the third. It should work fine.

    I hope this helps.

    Kind regards

    Pascal M
    http://Tajuddin.whitepagesbd.com

  • Select the list with option key

    Has anyone found a way to impliment a Select list that also allows you to enter a value that is not in the list of selection?

    Hello

    Have you tried a popup LOV?

    Not perfect, but usable solution.

    Concerning

    Michael

  • Where can I find the list of iOS image Default.png file name?

    I have a really hard time finding where the details are scattered on Adobe. Does anyone know the final list of the supported image filename for the publication of iOS default?

    Here is what I used before to take charge until iPhone5 in portrait orientation:

    Default.PNG

    [email protected]

    [email protected]

    Default - Portrait.png

    [email protected]

    I would like to add iPhone 6 and 6 +.

    Thank you

    Hi René,.

    To address all the concerns and difficulties encountered due to launch newly added images on iOS, we wrote an official blog. Please find here > Launch Images on iOS with Adobe AIR

    I hope this helps!

    Thank you

    Jitender

Maybe you are looking for

  • iCloud webmail not reponding

    Once connected to the iCloud via Safari, the mail app returns ' unexpected slow or no response. All the other web apps (Notes, Contacts etc.) responds very well. Any ideas on how one can access thye my iCloud email account settings?

  • a useful laptop boot CD

    I thought everyone would benefit from having one of these discs.  I would like to direct you to a site, Ultimate Boot CD. This utility contains many useful pieces of software that you can use to help solve computer problems.  This includes diagnostic

  • Tracks of Internet Explore slow during the farmville game.

    How can I improve my speed during the game farmville.

  • Disk Defragmenter won't end

    original title: Disk Defragmenter won't commplete defragments up to 12% and rises to 98% and says can not complete

  • Wired phone stop working.

    I have a HP Officejet 4500 with a phone connected to the printer point labled 2 - EXT.  Everything worked fine 1 day until recently the phone stop working.  I tested the line and the phone to a wall jack in another room, and all two exploited very we