Question about Autocomplete LOV as a table with JQuery - Apex 3.1

Hi all

Apex 3.1 (with no chance for an upgrade in sight!)

I have an element of text field (item_number) in a tabular presentation (SQL Query - editable report). This piece of text will have a LOV which could contain 1000 values. Users have requested semi-automatic on this area which will restrict the article numbers that the user types value.

I found a few examples, plugins etc... but they all seem to be on higher versions of APEX or they are not designed for tabular forms.

Is it possible to get this working? Can someone point me to an example semi-automatic LOV that will work with a tabular presentation to APEX 3.1?

Thanks for your help!

Published by: blue72TA on August 9, 2011 08:54

Hello

What you say that you have in the HTML page header is only jQuery UI seized semiautomatic js and CSS.
Also, you can not load jQuery CSS UI for the workspace files, because it requires images.

You can use jQuery from Google by simply add these lines to the HTML page header.




But if you run the intranet application, you must put all the files to the server HTTP folder.

Kind regards
Jari

Tags: Database

Similar Questions

  • Probably a simple question about Popup LOV formatting in all areas

    I have a Popup LOV on my page and set the Input field property: entrable, show and return value of the store.  I want users to be able to enter this field on their own, but it shows grayed out, even if they can manually enter data to him.  It is not intuitive for the user.  I tried to find out how to change it, but I came empty.

    I tried to add to the item page under the Form element HTML attributes, style = "opacity: 100;  -It works but only for this element of the page in question.  I want to know how to change it in all areas for all applications in my case (but only when the LOV entrable - I want him to stay grayed if Enterable option is not selected).

    Thank you

    In fact, OP wants to set opacity for elements without disabilities also, if you use jQuery, it is also unnecessary to use this 'each' - construction because it is totally useless. You can simply connect the part "css" in the returned array, like this

    $('input.popup_lov:not(:disabled)').css('opacity','100');
    

    I don't think you should use jQuery here though. You can use css to replace the default style using this selector and adapt to your theme or major addition to the rule.

    Eggsample:

    In theme 24 opacity is set to 0.75 through this rule (Note: formlayout for the model of the region):

    table.formlayout td.lov input.popup_lov
    

    To override this style you need a selector that has more specificity ('weight') than this switch. For example

    table.formlayout td.lov input.popup_lov:not(:disabled)
    

    Or in this case, I would say that the use! important may be feasible as who will address the use of the lov popup everywhere.

    input.popup_lov:not(:disabled){
    opacity: 1 !important;
    }
    
  • Question about full scan of the Table and Tablespaces

    Good evening (or morning).

    I read the Concepts of Oracle (I am new to Oracle) and it seems that, based on the way in which Oracle allocates and manages the storage of the local the following is true:

    Principle: A table which is often accessible by using a full table scan (for some reason any) would be better resident in its own dedicated tablespace.

    The main reason I came to this conclusion is that when you perform a full table scan, Oracle doesn't diluvium IO, reading probably one step at a time. If datafile (s) of storage space only contain data for a single table, then a reading series will have to skip segments containing the data in the other tables (as is the case if the tablespace is shared with other tables). The performance improvement is probably low, but it seems that there is a very similarly.

    I wish I had the thoughts of DBA experienced about the assumption above.

    Thank you for your contribution,

    John.

    a reading series will not jump the segments that contain data from other tables

    You are referring to a misleading picture of the operation.

    Let's say 'A' table is a table among a number of tables in a tablespace that consists of one or more data files.
    Since this is one of the many tables, it may not start at the beginning of a data file. His first measure may be somewhere in the middle of the file. The next step may not be nearby with the first step. The 3rd degree can be in different data file.
    So, it's the picture where you see Oracle having to jump the other tables when you do a FullTableScan.

    Now, view the same image:
    Measure 1 is in the 1000 to the 1127 block block (IE 128 blocks) in the data file 6
    Measure 2 is the 2400 block 2527 block in the data file 6
    3 is to the block to block 9371 9245 in datafile 12

    How Oracle does not have a FullTableScan? It starts with the segment header to get a map of the extent (it would read UET$ in a dictionary managed tablespace). He knows now what degrees it should read.
    What is doing?

    He made a call to the operating system to read 1000 blocks Oracle 1127 in the data file 6.
    The operating system then translates this call to starts and ID ranges and the block of the file system.
    The operating system puts this request to the storage subsystem.
    The storage subsystem and then translated the BONE, ID, blockrange to the drive starts, track, sector.
    Assume that these are all the neighbor on the single disc (that is, the volume is not distributed over multiple LUNS and disks).
    Storage reads the information and sends it to the operating system. This can still mean multiple readings, because the head (or several heads because the disc is made up of several trays) does not read 1 MB in an "appeal".
    The operating system then collects the 1 MB and passes it to Oracle.
    Oracle then fills buffers in its cache buffers--(PS: Astuce!) Tip! (: don't you know that it will be not be neighbor memory locations?)
    Microseconds past milliseconds.
    The disc is still spinning (it stops ). It has "evolved" - a different set of blocks are now under the read head.

    Oracle is now asking the OS for blocks of 2400 to 2527 in the data file 6.
    Oracle did not to "jump the other tables. He just made a separate call to the OS with a new range of blocks.
    The operating system now translates the block ID and filenumber at its own mapping.
    Storage then made his translation.
    The disc under the head blocks are very (almost certain) to be a different from blocks together. Not even those corresponding to 1128 Oracle Oracle datafile block 6. Not even the ones corresponding to 2400 block Oracle in Oracle data files.
    We are suffering now fetch - and reading the disk.

    and the story continues...

    And what happens if there is finally another user on the same system? Between the first blocks 1000-1127 call and the second call to blocks 2400-2527, that other user requested blocks 2000 (IE made a call from reading one piece).
    And, after the second measure is read by the user FullTableScan, a third user has requested block 2048 in a single block read call.

    It is important that the Table is not in the neighbor extensions? Even if you did put the table in "adjacent areas" they are not likely to be contiguous on the disk. Even if they are nearby on the disk, they are not likely to be able to read without delay, because the disc has passed.
    And we have not even spoken interleaving where readings from multiple disks need to be coordinated.

    So why still prefer 1Mo diluvium readings in Oracle? Because most SOAs allow a single OS call of up to 1 MB. Therefore, the overhead of Oracle making a call to read 1 MB are experienced only once. If the operating system allowed a maximum of 256KB reads diluvium, even a reading of 1 MB measurement must be carried out as 4 separate calls to the OS (and, recursively, 4 separate calls to the OS for the storage subsystem). We try to reduce the number of calls from software that we do. We cannot reduce the time of access and reading (but allows us to achieve more high "parallelism" in readings striping).

    Hemant K Collette
    http://hemantoracledba.blogspot.com

  • Comments and questions about the mixture ADF Page flows with Trinidad UI

    Hi all

    I did a few tests to see how possible it is to use Trinity to the UI (for compatibility of this stinking IE 6) as well as the ADF Page flows / controller of the ADF. My question is whether there is a sustainable configuration from the point of view of Oracle. I did things to make it work and noted the following interesting behaviors (call anaomalies, if you wish):

    (1) addition of ADF Page Flow within the reach of the technology for a project automatically adds ADF Faces. If I try to eliminate ADF Faces of the scope of technology, it automatically deletes the flow of Page of ADF as well.

    (2) if I remove the ADF Faces DURATION 11 project library and create a page of trinidad (also set up the renderkit and as appropriate skin and remove a moment-false ServletADFFilter of web.xml) I get errors MDS when running the resulting page. I can't correct the error by removing the MDS libraries either - as soon as I put ADF Faces DURATION 11 library back, things are OK.

    (3) since I've faced ADF in my scope of technology, all newly created JSPX pages end up having af:document / af:form tags and have the namespaces implemented for ADF Faces. Not useful if I want only parts of Trinidad, but not a show-stopper, either.

    (4) an interesting thing that I have reported before... If I have the ADF Page library flow into my project and then configure navigation case in faces-config. XML (I know, wouldn't do that, just an observation, even if someone who has accidentally library ADF Page Flow in their project without any intention to use the ADF Page flows will find this very annoying to debug...), the first click of button that leads to the navigation works very well. All subsequent navigation requires two clicks on the link/button to trigger navigation. This behavior does not occur if you change the case of navigation to redirect = true.

    So, in summary, I seems to be the controller of flow/ADF Page ADF working with Trinidad, with a few minor problems of productivity due to an obvious requirement to have the Library Runtime of ADF Faces and the extent of technology ADF Faces included in my project. Now Oracle - is this going to be a sustainable configuration?

    I'd also appreciate comments, suggestions and comments from anyone else who has tried or is trying to use the ADF Page flows / ADF controller with a single user Trinity interface (well, in my case, I'm going to blur more using the tag af:template with components of the Trinity, but it's another whole story).

    Best,

    John

    bump #2

    + 1). Adding the ADF Page Flow within the reach of the technology for a project automatically adds ADF Faces. If I try to eliminate ADF Faces of the scope of technology, it automatically deletes the flow of Page of ADF as well. +

    ADF task flows have to ADF Faces e around. Not sure this is documented somewhere, but I hope it's

    (2) no idea about it

    + 3). Since that I've faced ADF in my scope of technology, all newly created JSPX pages end up having af:document / af:form tags and have the namespaces implemented for ADF Faces. Not useful if I want only parts of Trinidad, but not a show-stopper, either. +

    Looks like that is facing an emergency room to have an option in the dialog creation page if create an ADF or page of Trinidad. I'll take a note

    + 4). An interesting thing that I have reported before... If I have the ADF Page library flow into my project and then configure navigation case in faces-config. XML (I know, wouldn't do that, just an observation, even if someone who has accidentally library ADF Page Flow in their project without any intention to use the ADF Page flows will find this very annoying to debug...), the first click of button that leads to the navigation works very well. All subsequent navigation requires two clicks on the button/link to trigger navigation. This behavior does not occur if you change the case of navigation to redirect = true. +

    I'm not sure how to restrict we are on the "do not use" them in combination, but to me this looks like a bug.

    Frank

  • Questions about the function "movie Diff file with...". »

    Hello

    I started working on a project where I'm now a piece of the old code written by an employee has since left my company.  This is a file of sequence TestStand 3.0 calling on Labview 7.0 code. The thing is, there were two of these facilities at different times and, somewhere in the Woods between stations 1 & 2, the code base diverged.  Part of it was due to not being able to get the material in double right for the PXI chassis and part was, apparently, due to the fact that the customer has used the 2 machines to test different models of the object to measure.

    So, I'm looking for copies of the code installed on both machines using the diff feature in TestStand base.  (If that makes a difference, I do this view in TestStand 3.5 since TS3.0 disappeared mysteriously some corrupt on me right now on my main development machine, and if the memories are good, you need to uninstall all the latest version of TS to reinstall an earlier version.)  A quite fun process, no doubt, but a little of your time.)

    Anyway, the first thing I noticed is that many sequence steps have different values of ID of the step Properties.Step look like this: "ID #: 2vMTp0db002mQDXArddRSA.  Play with the diff screen showed an option "Ignore the unique ID of the Step" which got rid of these.  With regard to these single-step ID: when they are generated and they remain constant on a particular machine?  Beyond simple curiosity, I wonder as an another diff is in some of the "on spending target ' or 'On Custom Condition true target' under certain properties of the step and the value down there looks suspiciously like these unique ID (that is, '" ID #randomstuff' ").  Are they all updated dynamically during execution or break something by changing these (for example if I copy a sequence of a crushing in the other version)?

    So, I have filtered the unique ID's.  The next major area of difference is that many, but not all together, VI Labview calls have a difference in the properties of the step > Flexible Labview adapter properties > ViCall > connector pane Checksum > value.  In addition, in some other cases, ViCall > error > connector number is different as well.  This indicates a different underlying VI?

    There are a few other differences, but I can interpret those.  My goal is to get a file of sequence for two machines, so the code will be easier to maintain.  I think that some of the VI with different amounts of connector pane control can be different between two facilities from one of the different hardware components required a library different driver.  This leads to a third question, what to use identical sequence files when the underlying VI may be different?  Is it just the interface must be the same?  As the connector pane has the same types of data and geometry for the presentations of the inputs and outputs?

    Thanks for any help,

    Mike

    I just got the phone with the help of NOR, so no worries on the answers.

    Short version:

    The unique ID is regenerated when a sequence is copied.

    TestStand didn't need to uninstall to reinstall an earlier version of the above.

    Connector pane Checksum involves a different underlying VI, but having the same geometry/inputs/outputs/types of connectors should allow you to have an another VI of facilities without different sequence files.

    Still awaiting support on the question of if the goto pointers updated correctly when a sequence or part of a sequence is copied.

  • Good question about windows 8 dell inspiron 3521 with graphics card intel delay right click.

    Greetings,

    I have an operating system running windows 8 pro on dell inspiron 3521. When I bought the camera, the problem was not visible up to 1 year, and then I installed "Tuneup utilities" for a scan and then uninstalled. Since then, I found annoying problem on my pc.

    Relatek HD audio was working fine but then it started showing good results, but the sound from the speaker is not and or if plugged headphones as well. PC not dettect not any problem on the sound while troubleshooting. The sign of the speaker on the status bar when clicked and increases the volume of it increases the volume, but the sound and color do not here as well.
    It does a strange thing when I trouble shoot using the sound properties and click 'TEST' test is fine, but I can't hear any sound good! and again when I click TEST on speaker, it says "this device is used by another application. Please close... "
    However, the sound works fine without any problems for a while when I trouble shoot with 'Find and fix with device' or I restart the pc. But after a while this problem automatically. with this desktop right click question also annoyed me for the compliment can be! :( Help

    TuneUp utilities and similar programs usually don't serve to ruin a Windows Installer do it do more damage than good. Stories like yours are not uncommon with these programs. Back up all your data on an external hard drive. If you did a restore USB with your system can boot from to restore factory settings. If you have not done one, try using backup and restore Dell to make one. TuneUp utilities may have ruined the Dell backup feature and the recovery and partition recovery so I advise to call Dell technical support and request a DVD of resettlement or recovery USB just in case. I prefer the DVD because it can be copied to a USB key and has no preloaded software, allowing a cleaner installation. You can then try to restore the factory settings and if something goes wrong with the restoration use Dell support to clean install.

  • Envy 17: Questions about New 17 "computers laptops Envy with 6th Gen Skylake processors

    I see the new Skylake i7 CPU showed in the line of envy (I waited for my purchase), but he has very little information provided on the HP site and what's next is some confussion. I mean, I'm looking at a $2,000 laptop - a little information on the sales page would be nice!

    There are 2 17 '' want options (not the best value) that are customizable - display a touch and the other not.

    No touch lists a 256GB SSD option, and 1 TB spinner - touch lists a SSD 512 GB or double spinners.

    Basically, I can assume there are 2-Bay 2.5 "as previous models of envy, but what is the SSD? It is a 2.5 "SATA? What is M2? Is - this mSATA? If it's M2 or mSATA is on the lower part of the Board of Directors and easily replaceable?

    Which in the end line want is a bunch of fo SSD 512 GB (or 1 TB) and a cone of 1 TB for storage and available configs don't happen. Can I do it myself?

    Well, I guess I answered my own question...

    (manual for the 2015 Envy 17 is located @ http://h10032.www1.hp.com/ctg/Manual/c04696907)

    The manual shows a connection for the SSD with two m2 2 2.5 "bays. For those who wish to have a second (or third) car related parts appear to be:

    Hard drive cable 813795-001 (not shown)

    Kit (not shown) hardware hard drive 813796-001

  • Question about membership in the same table

    Hi guys,.

    I try to get all students with their respective level code and major, I don't get everyone on my list. Can some help me with my query?

    Thank you!
    select s.name, s.id, d1.level_code UG, d1.major UG_MAJOR, d2.level_code GR, d2.major GR_MAJOR
    from degree d1, degree d2, student s
    where s.id = d.id
    and s.id = d2.id
    and d.id = d2.id
    and d2.level_code = 2
    and d.level_code = 1
    
    create table degree (id number,
                    level_code number,
                    major varchar2(30))
    
    create table student(id number, name varchar2(30));
     
    insert into student values(123, 'John');
    insert into student values(456, 'Rich');
    insert into student values(789, 'Amy');
    insert into student values(910, 'Pete');
    
    insert into degree values(123, 01, 'Economics');
    insert into degree values(123, 02, 'History');
    insert into degree values(456, 01, 'Math');
    insert into degree values(456, 02, 'Acctg');
    insert into degree values(789, 02, 'Law');
    insert into degree values(910, 01, 'Music');
    
    
    OUTPUT:
    
    ID     NAME    UGRAD_CODE        UGRAD_MAJOR         GRAD_CODE     GRAD_MAJOR
    123   JOHN    01                        ECONOMICS                02                     HISTORY
    456   RICH     01                        MATH                         02                      ACCTG
    789   AMY                                                                  02                      LAW
    910   PETE    01                        MUSIC
    Published by: user5737516 on May 15, 2012 09:49

    I need to show only one line per student but would show their undergraduate degree and grad so to join the table to itself

    Published by: user5737516 on May 15, 2012 09:51

    Published by: user5737516 on May 15, 2012 09:55

    Hello

    The query you posted is the right idea. He made the inner joins, where lines are included in the game only if they appear in all the tables of results. There is nothing of Amy d1 and nothing on Pete in d2, so they are not included.
    Just change your query to make the outer joins, so that all students will be included or not, they have a game in d1, and whether or not they have a game in d2, like this:

    SELECT    s.name
    ,        s.id
    ,        d1.level_code          AS ug
    ,       d1.major          AS ug_major
    ,        d2.level_code          AS gr
    ,       d2.major          AS gr_major
    FROM             student    s
    LEFT OUTER JOIN  degree         d1  ON   d1.id         = s.id
                                     AND  d1.level_code  = 1
    LEFT OUTER JOIN  degree     d2  ON   d2.id         = s.id
                                     AND  d2.level_code  = 2
    ;
    

    Thanks for posting the CREATE TABLE and INSERT statements; It's very useful!
    You should always put your version of Oracle, too. He could not relevant in this case. The above query will work in Oracle 9 or higher.

  • Question about the mix of Trinidad component with ADF Faces

    Dear all,

    I have a requirement for complex layout that I can't do with just ADF Faces component.
    I found this blog nice wfrom Jobinesh http://jobinesh.blogspot.com/2010/11/layout-tips-organizing-page-content.html
    and I quickly realize that this will solve my problem.

    Please note that components of Trinidad has not all client components peer as we have for the ADF Faces. You may need to be measured while choosing this guy

    I'm just concerned about this line. I can't really understand what it means and how it will impact my programming of the ADF.

    Thank you

    Neliel,

    Which, in my view, that Jobinesh says it's that you will not be able to use the HTML elements of the Trinity as targets for partial triggers. As far as I know, using HTML of Trinidad (trh :) components with ADF is OK, but using 'clean' Trinidad (tr :), you can have problems.

    John

  • Question about parallel hint and 'alter table enable parallel DML'

    Hi all

    I have a DML as follows:

    Insert / * + append * / into table1
    Select *.
    of COMPLEX_VIEW;

    Here complex_view contains a very complicated SQL, in which there is some heavy tables joins, subqueries, and aggregations.

    Question 1:

    Let's assume that the underlying tables have no attribute "parallel." Where should I add "parallel index" to force it to be run in parallel and can get better performance?

    Some members think that what follows is good.

    Insert / * + append * / into table1
    Select / * + parallel (a 4) * / *.
    of COMPLEX_VIEW;

    But I think that indicators must be put in the defintion of the complex view where they should be and do not put advice to the main insert DML, like this:

    Insert / * + append * / into table1
    Select *.
    of COMPLEX_VIEW; -I added the indicators in the COMPLEX_VIEW.

    What is your opinion?

    Quesion2:
    Without ' alter session enable parallel DML ", I can see the parallel session in v$ px_session thus." And the execution time has been shortened. This proves without this statement, the DML is also run in parallel.

    So, what is the effect of this statement?

    Best regards
    Leon

    I prefer the suspicion out of the COMPLEX_VIEW. This way, only this application forces the suspicion. If you put the indicator in the COMPLEX_VIEW, any other query on COMPLEX_VIEW (or Assembly of COMPLEX_VIEW to another view or a table) would also "encode" indicator in its execution. You don't then isolation parallel query to only where it is needed.

    If you put the parallel indicator in SELECT it (or view), the query is parallelized. This does not necessarily mean that the INSERT is parallelized. What you see v$ px_session are only slaves to PQ to SELECT.
    You must ALTER SESSION ACTIVATE PARALLEL DML and add the PARALLEL indicator in the INSERT.

    Hemant K Collette

  • Question about stored queries in meeting tables

    I'm curious to know how much memory storing queries in meeting tables back. The query results themselves (about 5-6) are small, no more of 100 records. The site traffic is low, not more than 100 k a month but should leap to more 1 million. The web server (primary and failover) are tough systems, I believe than 4gigs of ram. So I don't think, should I be concerned?

    Quote:
    Posted by: CFMXPrGrmR
    Are there benefits to the application.queryname a table? Or is it as well to access the query in the application scope?

    It is already an array.

  • Philosophical question about the design of the table

    I'm new in the world of RDBMS. I read a lot but have little practical experience. I'm upgrading of old applications that I know well. I'm interested in advice/opinions on a number of issues, from it.

    My application periodically (at the discretion of the user, so can be daily, weekly or monthly) should take a snapshot of some data. This snapshot is then used for various activities, such as a control point of reconciliation with external clients - so it must be 'frozen' rather than be derived at a later date. But if the snapshot proved to be a mistake, I can possibly be rerun (crushed) - requiring all lines to delete everything first.

    Data must be accessible in different ways, everything would need the date of snapshot to be part of the index or a group of clauses.

    Snapshots can be copied or replicated to other servers for purposes to relieve the burden of filing database. Old clichés may be archived, ignored backups of routine, deleted and so on.

    Is there a case for the inclusion of the date of snapshot as part of the name of the table? It would simplify the index structures, reduce the size of the individual table, perhaps to improve the competition (for users who access an old cliché while another is being created), facilitate separate archiving and much easier to drop and create table to remove all the lines before a replay. Of course, it reduces the size of the table that could potentially become very large.

    However, the previous snapshot is used as a starting point for the following, or a subsequent repeat) you need to be able to quickly determine who is the nearest date start - easy if they are all in 1 table, can be more load trying to determine is whether a specific table at the time to a given date.

    I look forward to some expert advice. :)
    CS

    user8821725 wrote:

    Is there a case for the inclusion of the date of snapshot as part of the name of the table?

    No--not from a point of view of the data modeling. The snapshot date is an attribute. Attributes are not incorporated in the name of the entity being modeled.

    However, you can decide to implement the instant entity tabular instant daily - but the attribute date (column) will always be an attribute. In other words, you must not remove the attribute date as a table column as the table name now.

    This decision (implemented as a multi table entity) have meaning when not having is not a better way to manage the physical aspects of the table. Partitioning for example would be a much better option to use - a single partitioned table, containing multiple partitions, where a partition physically contains data for a specific instant day (including the index).

    Basically, there is a very clear line between the logical data modeling and the material realization of this model. Oracle provides a bunch of features that you can use on the side of the material realization. As index organized tables. Table of clusters, partitioning and so on. But how you implement the physical model does not dictate the design of the logic model.

    However, the previous snapshot is used as a starting point for the following, or a subsequent repeat) you need to be able to quickly determine who is the nearest date start - easy if they are all in 1 table, can be more load trying to determine is whether a specific table at the time to a given date.

    I would use a management entity - that describes the metadata for a snapshot. As when it was created, the filter criteria used, the time it took (still useful for performance and troubleshooting purposes), be it an an active/valid capture instant or not - or any other attributes necessarily to manage this logical snapshot as a set of data.

    The biggest problem with a physical model that uses separate physical tables for the same entity, it is appropriate to use table name must be determined at run time. This means dynamic SQL. Dynamic SQL means an increase in complexity, open any SQL injection holes, having to deal with errors which would not intervene with static SQL, etc.

    If this approach to your data model's physical implementation needs a review carefully to ensure that it works as efficiently and effectively as required.

  • Question about popup lov extracted first set of lines

    I use lov popup extractions first set of rows for a single field in my application, question is how to do it select only the choices in the list box and does not allow the user to enter in the text box, what they want. In other words
    only what they choose to the lov?

    Hello

    You may need to search in the creation of a custom context menu page - take a look on: http://www.oracle.com/technology/products/database/application_express/howtos/how_to_create_custom_popups.html (it's an old document, but the principles are there)

    Andy

  • Envy 17-K224NR: question about Realtek HD audio on laptop with Console Audio Beats

    I bought a HP Envy 17-K224NR which has Realtek HD audio in Device Manager, handed over to new, but it has also the Console Audio Beats, but the console has very few cursors, such as cursor control of bass and voice.  Should I uninstall the realtek drivers and re-install the drivers Audio BEats to get full conTHe Beats Audio system provided with WIndows 10 and sionce has been updated with the update of the anniversary.

    The Realtek drivers and the Beats Audio console are now on my system, I thank you.  The only thing I don't like is the fact that I have no control over the bass, music or voice, the sliders is not.

  • Question about the definition of a table null vs defining each element null in the table and the recording of memory.

    Hello

    I try to avoid any kind of memory leaks or problems of garbage collection.

    public class test {}

    var anArray:Array;

    .

    .

    .

    public void addObjects() {}

    anArray = new Array();

    anArray [0] = new Something();

    anArray [1] = new Something();

    anArray [2] = new Something();

    for (var i: int = 0; i < anArray.length) {}

    anArray [i] .addEventListener (MouseEvent.CLICK, doSomething);
    addChild (anArray [i]);

    }

    }

    private void doSomething(event:MouseEvent) {}

    for (var i: int = 0; i < anArray.length; i ++) {}

    anArray [i] .removeEventListener (MouseEvent.CLICK, doSomething);

    removeChild (anArray [i]);


    }


    anArray = null;


    }


    }

    Is it effective or should I register "anArray [i] = null" after 'removeChild (anArray [i])' in the loop of my doSomething(event:MouseEvent) function?


    Sorry if my question is confusing and I thank you in advance.

    If there is no other reference to new Something() instances, other elements of the array, removing (or assignment a = []) should work.

Maybe you are looking for