Lists w / item Renders and misfortunes of drag and drop

Back-story:

I have a TileList component with the following characteristics:
dragEnabled = true, selectable = false, custom itemRenderer = myItemRenderer, correctly renders them "rolls over" correctly

myItemRenderer extends canvas and contains information (XML) that define its characteristics.

And I have a canvas that I let fall custom items in which product of other items based on the XML data into the object fell.

Problem:

In normal times the drag and drop procedure works perfectly: I can drag on an element of the TileList the canvas and it will produce a "copy" of the item dragged. Although if I scroll the TileList upwards or downwards and then drag an item in the Web article on the canvas is the element to position non - scrolling the TileList (as if I didn't have to scroll at all). To clarify, the item has fallen into the canvas is the item in good visible position in the scroll position zero (0). The drag proxy displayed is the correct item - more befuddling the situation.

Correct behavior:

I would like to be able to drag an object of my TileList in the canvas area and have the correct item fall despite the scroll position.

I don't know if it's an error in my methodology or a bug, but I searched google and the forums without great success. Of course, I may be using the wrong search string and will gladly accept a more fruitful search string.

"roaet" wrote in message
News:gfsgj4$DDN$1@forums. Macromedia.com...
> Moreover, it seems that this is not a matter of drag and drop, but more the
> the list (not rendered items) is out of control!

Do you think this could be a problem of recycling? See Q2 in the FAQ I posted
earlier today.

Tags: Flex

Similar Questions

  • Problems with the list of the button and drop-down list

    Hello

    I want my users to view revenue by country or city...

    to select country I use a "list of the button' and for the city I'm on a 'combo '... When my select user a country, the cities of filtered accordingly... everything works fine, except the following (it is in step 3):

    Step 1. When I select a country (let's say canada) report gives me an appropriate set of data...
    Step 2. When I filter in a city (let's say Toronto) everyting works very well according to the filter...
    Step 3. When I select another country (let's say the USA), I get no data displayed on my report but good news, it's that my drop down the city will update accordingly
    Step 4. to get the required data, I have to change city (let's say Chicago)...


    what I want is that when my user select another country (step 3)... then the report should display data for all cities and I used the logical

    Select rev table_country
    where
    (b.City =
    CASE
    When: P49_CITY = 'ALL' THEN b.City
    OTHERWISE: P49_CITY END)

    somehow, I want the P49_CITY to 'ALL' value when the user selects a country

    Please advice

    Hello

    This is the way of simply to do.

    1 make the country select list (P49_COUNTRY) a select list with submit
    2. create a conditional branch that dates back to the 49 Page
    3 do the conditional branch of type PL/SQL Expression. In the expression 1 enter

    :REQUEST = 'P49_COUNTRY';
    

    4. in the value of these items , enter P49_CITY and let these values in white.

    So when the country is changed the page will be submitted, take over the management of the status of the page and in the process put the city at null.

    Kind regards

  • How to prepare list for garbage collection after drag and drop operation

    Hi all

    I have a view in a mobile application that contains a list with the help of drag / move. The problem I encounter is that the NativeDragManagerImpl maintains a reference to this list in its _dragInitiator and _relatedObject properties. It is not a memory leak by - say, because the reference will be replaced the next time make drag and drop is used, however, my view that preclude any garbage collection, causing an unacceptable peak memory.

    Here is an example which illustrates the problem (app default AIR using Flex 4.5.1):

    Main.MXML

    <?xml version="1.0" encoding="utf-8"?>
    <s:WindowedApplication xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:local="*"
                                                         xmlns:mx="library://ns.adobe.com/flex/mx" xmlns:s="library://ns.adobe.com/flex/spark" width="800"
                                                         height="600">
    
    
              <fx:Script>
                        <![CDATA[
                                  protected function start_clickHandler(event:MouseEvent):void
                                  {
                                            var element:ListGroup = new ListGroup();
                                            this.panel.addElement(element);
                                  }
    
                                  protected function stop_clickHandler(event:MouseEvent):void
                                  {
                                            this.panel.removeAllElements();
                                  }
                        ]]>
              </fx:Script>
    
    
              <s:Panel id="panel" top="100" left="100" bottom="100" right="100" title="Drag Drop Test">
                        <s:controlBarContent>
                                  <s:Button label="Start" click="start_clickHandler(event)" />
                                  <s:Button label="Clear" click="stop_clickHandler(event)" />
                        </s:controlBarContent>
              </s:Panel>
    
    
    </s:WindowedApplication>
    
    

    ListGroup.mxml

    <?xml version="1.0" encoding="utf-8"?>
    <s:Group xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:mx="library://ns.adobe.com/flex/mx"
                         xmlns:s="library://ns.adobe.com/flex/spark" width="100%" height="100%">
              <s:layout>
                        <s:HorizontalLayout />
              </s:layout>
              <s:List id="sourceList" width="100%" height="100%" dragEnabled="true" dragMoveEnabled="true" dropEnabled="true">
                        <s:dataProvider>
                                  <s:ArrayCollection>
                                            <fx:String>Item 1</fx:String>
                                            <fx:String>Item 2</fx:String>
                                            <fx:String>Item 3</fx:String>
                                            <fx:String>Item 4</fx:String>
                                  </s:ArrayCollection>
                        </s:dataProvider>
              </s:List>
              <s:List id="targetList" width="100%" height="100%" dragEnabled="true" dragMoveEnabled="true" dropEnabled="true">
              </s:List>
    </s:Group>
    
    

    If you drag items to the list on the right, there is always at least one instance of ListGroup stuck in memory for the duration of execution (as seen in the profiler).

    Is there a way to perform cleanup on the DragManager (or in fact the underlying DragManagerImpl) upward to a time of my choosing? Thoughts or ideas will be greatly appreciated!

    Thanks a lot for your time!

    I think I'd be monkey-patch NativeDragManagerImpl.  And create a bug report.

  • Y at - it somewhere I can find a list of items that is supposed to be running in activity monitor and those that should raise red flags?  I know the list varies depending on the applications and installed process but a base line would be nice

    Y at - it somewhere that I can find a list of explanations or definitions of applications that are running in the monitor of activity as well as a list of items that should raise red flags?  I realize account from the list will vary depending on the applications and programs installed and running, but it would be nice to have a base line of what should be expected and considered safe or normal.  There are too many items to research and one at a time.

    No, not so much.

    You have a problem you're trying to solve?

  • I wish I could drag and drop items from one page to another of the window of the plan. Is this possible?

    In desiging my site, I want to be able to move items from one page to another by drag-and - drop from the flat screen of architecture. It would also help if the window could have a zoom in and out function to facilitate this.

    I just tried to zoom in the map window and discovered that it works.

  • How to drag and drop items in the Muse...

    Hello: Im attemping to create some drag and drop elements in muse. Can someone help me with this? Thank you

    You cannot create drag and then drop items using the off the features of the mailbox Muse. You may need to use some third-party JS library and integrate code using InsertHTML or HTML foroptions of Muse.

    Thank you

    Vikas

  • Display collection ArrayCollection in a list and the ArrayCollection with Drag and Drop collection reorgnize

    I have an ArrayCollection collection created like this

    qaAC = new ArrayCollection();

    for (var i: int = 0; i < 10; ++ i) {}
    var o: Object = {question: ' what is "+ i +"? ", answer:" it's "+ i"};
    qaAC.addItem (o);
    }

    The ArrayCollection collection is an array of object that has properties "question" and "answer to" custimized.

    I want to put 'issues' in the ArrayCollection collection in a list. 'qaAC.question' does not return an array of questions for me.

    I have to extract the ArrayCollection collection to form a new String table, and use the new array as the dataProvider of the list of questions.

    Is there a way better and clean?

    My goal is to use a list to reorgnize an ArrayCollection collection that contains complex objects (not simple string) with Drag & Drop. Is this possible?

    Any suggestions?

    I put two lists in my example to show how the ArrayCollection collection could be displayed in two different ways. You don't have to have two lists if you do not need them.

    When you change the order of the list made with drag and drop, you change the order of the collection ArrayCollection qaAC, so all the controls that display the qaAC will also be updated to reflect the new order. You can test this in the example I posted earlier. Change the order in the list of question and you will see the order change also in the list of responses. This is because they are both bound to the same collection of ArrayCollection. If you want to behave independently, you need two separate ArrayCollections.

    Chris

  • Cannot drag and drop images from the list of files on the page

    I use DW8 for the redesign of a site someone else created in FrontPage and will continue adding content using FrontPage. I'm afraid that another user would not understand CSS formatting and finally break, so I keep a page a table-based layout using the fairly minimal CSS for style.

    Some of these pages, when I try to drag an image from the list on the page file DW, the cursor only becomes a stripe diagonal-circle sign ' ", and it will not drop the image. When I create a blank page, with or without a table, I can drag image files and drop them without problem.

    There is NO FrontPage special tricks in these pages, by the way - no model or anything that uses FrontPage. Just in case I was missing everything I did "clean up html" command and had him remove DW or non - DW comments, and he found nothing to 'clean up '.

    Can someone tell me what it might be on a page that would prevent him drag / drop list file DW8?

    Thank you very much!

    Theophanes

    I still don't know what the problem was, well, just rename the site and its location on the disk, forcing DW to reread everything from the beginning, eliminated the mysterious problem. There is probably an easier way to force DW to do this - I'll look for it if it happens again.

    Thanks for your help!

    Theophanes

  • I use Zotero, I accidentally deleted several entries in my library. I was not able to recover them by drag-and - drop. What can I do to restore the items that are currently sitting in the trash?

    I accidentally deleted some of the elements in my Zotero library. I tried to restore, but I can not drag and drop them to the back in the library. I scoured the forums to see if I found a solution, but none of the suggestions work.

    This forum thread help?

    Zotero Forums - restoration of trash

  • Is it possible to reduce the "suction" items fall dragged and drop?

    I am developing a game where the user must correctly space objects between them depending on what is their relationship to each other.  Falling objects are in fact completely transparent, and the user must place the point slide perfectly on top of it. The problem is that when the user does not place the object from sliding directly on top of the object to be moved, it nevertheless gets pulled to this object. 1. I want that there is virtually no traction power.  2. I would also like the user to be able to stream, click on the object to move and move it slightly until he thinks it's perfectly fine and the stay of the object where it let him down - I don't want it pulled back to its origin.

    If possible, let me know!

    Thank you!

    Ryan

    Hello

    It is possible to redrag and withdraw the power of pull by setting the following two parameters.

    1 Select the Target Drop, Drag and Drop Panel > accordion target Drop, change of position as "absolute".

    2. activate the option "Source Redrag dropped" to drag and drop the Panel > accordion Interaction properties.

    But with these parameters, it allows to drag the object even when it is removed properly.

    Thank you

    VERALINE Sukumaran.

  • Problems with showing bookmarks toolbar items / Rendering

    Greetings,

    I think I met a little UI problem. I'd really like a bookmark that is placed on the same line as the address bar - it would be so convenient! But unfortunately it seems not be display correctly.

    Customize mode, I tried dragging the "Bookmarks Toolbar Items" in various places: before the back button, after the search box, among other buttons, etc.

    It is placed properly in mode to customize, but after clicking on 'Customize output', the bookmarks toolbar items almost always are not displayed correctly. Sometimes I see a lot of emptiness with the narrow vertical button I can click for a drop-down list of my favorites, and sometimes I see is a bunch of blank period. Once and a while if I play with the order in which I move and add buttons to the top bar, I can get the bookmarks toolbar items to render correctly for a bit, but he soon pips again.

    Add code to the file userChrome.css below default @namespace.

    @namespace url("https://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); /* only needed once */
    
    #nav-bar-customization-target > #personal-bookmarks { -moz-box-flex:1 !important; }
    

    The file userChrome.css (UI) customization and userContent.css (Web sites) are located in the folder of chrome in the Firefox profile folder.

    You can use this button to go to the Firefox profile folder currently in use:

    • Create the folder chrome (lowercase) in the .default < xxxxxxxx > profile folder if the folder does not exist
    • Use a text editor like Notepad to create a userChrome.css (new) file in the folder chrome (file name is case sensitive)
    • Paste the code in the userChrome.css file in the Editor window
    • Make sure that the userChrome.css file starts with the default @namespace line
    • Make sure that you select "All files" and not "text files" when you save the file via "save file as" in the text editor as userChrome.css.
      Otherwise, Windows can add a hidden .txt file extension and you end up with one does not not userChrome.css.txt file
  • Drag and Drop Listbox - help

    Hello! I'm back to LabVIEW programming and fell on a problem that I can't solve.

    I am trying to use dag and drop on a list box. I put to move only and it works fine. The problem is that if I drop the moved element event goes just far. I couldn't find examples or answers in the forums.

    Someone wants to teach me about drag and drop?

    Thank you

    It is not unstraightforward.  Shift register keeps the value of the listbox on departure of drag (ie. the index of the item).

  • Windows XP SP3: Unable to start, System Restore cannot drag and drop ALL the files/folders on the desktop and applications, many unable to start, services cannot search, cannot copy or transfer the any files folders...

    After a recent power outage, my system has restarted with a weird and very common Windows problems range. The system boots fine, all my personal files/folders/apps are intact, have suddenly stopped almost all functions of applications, but many crucial functions of the Windows kernel. Everything seems to point to several Windows Services are unable to start (administrative tools on the start menu). I am running Win XP SP3 and that he was going to upgrade to Windows 7, but I wanted to backup everything in advance. As I have 29 000 hours on my C: drive and a lot of time invested in my system, files, and applications, I am extremely reluctant to risk losing my files and applications by performing any type of reinstalling Windows. Strangely, begin to almost all my apps and all my files are accessible for the most part, but I've lost the ability to drag and drop files, folders or items in a list within the applications COMPLETELY. I can't copy or paste anything, can't move the desktop icons (although I can create new files and folders). So at the moment I can't save anything or even a single file transfer to a hard drive on another storage medium. Immediate reaction: try safe mode and try the system restore safe mode has the same problems (likely due to the large number of system services that inexplicably refuses to start) and the system restore says an error window saying "system restore is not able to protect your computer at this time. try restoring the system running and restart again", which of course NEVER changes. It's the equivalent of getting a tire on your car in the middle of nowhere to find the spare tire flat and the missing Jack. I have used to be fanatical about the definition of the regular restore points, but now can not access them. I have backups of most of my personal files, but over years have lost most of the original installation CD for many of my applications (there are over 100 applications on my system) and I don't want to lose the file associations and architecture of directory tree that it took my so long to implement. I started with Win XP media center edition of first (circa 2004 or almost) and have migrated twice more of 3 hard disks and 2 computers. All this time (5 years of daily use), I have NEVER known so many malfunctions for as many Windows basic and vital functions at the same time. I tried a lot of 3rd party "windows fix - it / registry repair" apps, all have no effect. Everything I can speculate is there was some serious damage to the registry and have no idea how/why so many Services refuse to start. In MMC, more than half of the services actually start and run, the rest all give the error message "the service or dependencies is not start (error 1068).» In addition, very oddly, no. APPS or windows appear in the toolbar AT ALL, but the Quick Launch toolbar works very well, just like the tray button and start tasks (?! )!). If I reduce a window, it "disappears" (Nothing on the task bar), but I can restore it using the alt - tab keyboard shortcut to switch apps, so all applications/windows appear on the list of the Task Manager. A few apps is paralyzed bad, as the player windows media, itunes, etc. (I guess because the service windows audio can not not start), some won't start at all, but 90% of them work fine, except to try to copy or back up all files. I can create new files, however. I'm desperate to find a solution to repair XP3 Win WITHOUT losing my installed applications and files, before I try and switch to WIndows 7. Any help/suggestions/links/advice would be much appreciated. I'm an experienced user, but I've never met so many malfunctions based on the OS at a time. I, however, very painfully learned (years before that my system so complex) it's been almost a re-installation of Windows guarantees to lose my installed apps and files, the directory tree architecture associations.

    Help, please!

    I'll be honest with you - your message is so difficult to read that I don't bother to go through all that. Next time consider using white space, ball or points numbered, etc. to make your message more readable. I stopped reading after your first sentence and only scanned the rest quickly. I do not mean to hurt your feelings; just trying to help you get targeted answers you need for the future.

    The blackout has corrupted your Windows installation. Back up your data now. Since you have problems so much, it would be probably best is to remove the hard drive, put it in a USB drive enclosure and attach it to another computer to copy the data OR start the target with Linux Livecd such as Knoppix system and copy the data to an external hard drive. IOW, do not use the damaged windows to try to get your data.

    You can try a repair that will leave your programs and facility data intact, but with this widespread bribery, it is unlikely to work. However, it takes only a few minutes and is so worth a try. If the repair facility does not work there is nothing to do, but a clean install. And Yes, it will mean that over again.

    Consider buying a UPS to help prevent future damage by power outages. For a single computer, you should look for one in the area of $60 to 80. A more expensive UPS is not necessary. Another good disaster recovery strategy is to buy an external hard drive and Acronis True Image. You can image your system (and can make an incremental backup image so that your image is still current). You can apply your image and be back running that you were in relatively few minutes after a hard drive or Windows to fail.

    http://www.michaelstevenstech.com/XPrepairinstall.htm - repair install how-to
    http://michaelstevenstech.com/cleanxpinstall.html - Clean install - how-to
    http://www.elephantboycomputers.com/page2.html#Reinstalling_Windows - you will need at hand MS - MVP - Elephant Boy computers - Don ' t Panic!

  • Drag and Drop VMware Service dashboard

    Hello

    We try to create a VMware dashboard from a service.  We have three VMware data centre and we want to see one of them on a custom drag and drop that will be created from a service dashboard (we have created several of these dashboards for other objects of topology such as SQL Server, Exchange and standard hosts).

    We created the service, but when we try to add DataCentre_1 to it, it does not display the server in the data center.  We added service-specific components, selecting a search for 'All models', enlargement VMware model. virtualCenters.  None of the items selected under which show the VM customers.  We tried VMWVirtualCenter, VMWDatacenterCollection and VMWDatacenter.

    No matter which one is selected, when we try to create a table in the dashboard by dragging Services | All Services | | Guests in all, we still have a message "No data to display" in the preview window.

    Can someone please tell us where get you the guest list for the VMware data centre?

    Thank you

    Brian

    Hi Brian,.

    I think that the best way to do this is to define a Service that contains all ESX hosts in the target datacenter.

    You can do this by defining a Service then fill that Service with 'a rule to include a group of components', also known as a FSMDynamicManagedComponent. The definition of this rule begins with the root query "ESX hosts", to which we add a rule as a condition:

    virtualCenter.name like '% alvvmml01 '.

    Your Service will then contain all of the corresponding ESX hosts and you can then drag and drop the ESX host since the set service in your dashboard or report.

    Your first attempt did not work because the addition of things like VMWVirtualCenter, VMWDatacenterCollection or VMWDatacenter in the Service adds these items for the Service, but not the ESX hosts contained in these articles. /Hosts is also the list of physical or virtual host objects, not the ESX host objects you are looking for.

    Kind regards

    Brian Wheeldon

  • When we organize our emails/landing pages into folders, is there the capacity drag-and - drop?

    Sometimes it does not work always when I record my work and I want to keep my tidy Eloqua platform! I have

    Hi Nathalie,.

    You can drag and drop in the selector (so for example, under the E-mail section, click on "Open an existing email" and opens the selector). If you are looking for in the selector, you will not be able to drag and drop the results of research, but if you want and instead simply navigate through the selector by clicking, you can drag and drop assets into a folder.

    If you want to drag to 'up' in the hierarchy of folders, you can drag the item to the track "Breadcrumb" above the list of files (so if you are in a folder called work in progress, the "breadcrumb" will look like Test-> file Some-> other folder-> current folder), like this:

Maybe you are looking for