Drag drop onto a closed node in a tree?

Is there a way to drag and drop an item in a tree view, on to a folder within the tree, without opening the folder? I have drag and drop working but cannot pick this event up.

I'm not sure what you mean. Its surely hard to explain without you actually having my Fla. file along with the two action script files.  Then trying it for yourself.
I will...try again to explain...
I have a fla. file and the two action script files. Only can give you the action script file coding.
The code shown.. that code that works perfectly as is. I have accessories to the right of the fashion model. You pick your accessory and drag it over to the model which is on the left. If an individual should accidently release the mouse just after they start to drag over to the model it will snap back to its location. Perfect.
If the individual drags the accessory all the way over to the model and they release almost on top of the spot it should go on the model it will snap into position on top of the model. Perfect.
But now lets say you want to click & drag the dress you just dropped on the model back over to where it originally came from...which is to the right where all the accessories are.
Thats where I'm stuck.
I can dress up the model but then the accessories stay on her...like glue.
I want to be able to click on the items I put on the model and drag them back over and grabbed something else to put on the model. Back and forth.
I tried differently ways to code it but unsuccessful.
So back to the coding that is shown. That is only the coding up to the point of wanting to then click an item that is on the model and drag it off of her and put it back to where I got it from. over to the right where all the other accessories are.
I dont how else to explain this. 
I wish I had hosting so you could see it work so far.

Similar Messages

  • Drag and drop of multiple nodes between 2 trees

    Hi,
    I am trying to implement a drag and drop of multiple nodes between two different trees. A simple drag drop written on the lines of the demo code RSDEMO_DRAG_DROP_TREE_MULTI works perfectly fine. But my requirement is, when a child (leaf) node is dragged, if its parent is not present in the target tree, that too has to be dragged and dropped from left to right. When I try to manually add nodes to the target tree, it dumps because the node key table and drag drop object have fewer nodes than what I am trying to add. So it always dumps in the drag_drop_complete method.
    I have also tried putting this code in the PBO of my screen, calling a subroutine to refresh my tree with all nodes required. But I realise that the PBO does not get called after a drag drop. Is there a way to achieve this? Any help would be greatly appreciated. Thank you.
    Regards,
    Nithya

    There's a Multi-Select TreeView sample on the WindowsClient.com, you can download it. Then you can drag multi nodes as follows:
    Code Snippet
    private void Form2_Load(object sender, EventArgs e)
                this.listBox1.AllowDrop = true;
                this.listBox1.DragOver += new DragEventHandler(listBox1_DragOver);
                this.listBox1.DragDrop += new DragEventHandler(listBox1_DragDrop);
                this.multiSelectTreeView1.ItemDrag += new
                     ItemDragEventHandler(multiSelectTreeView1_ItemDrag);
            void multiSelectTreeView1_ItemDrag(object sender, ItemDragEventArgs e)
                this.multiSelectTreeView1.DoDragDrop(this.multiSelectTreeView1.SelectedNodes,
                     DragDropEffects.Move);
            void listBox1_DragDrop(object sender, DragEventArgs e)
                ArrayList selectNodes = e.Data.GetData(
                    e.Data.GetFormats()[0]) as ArrayList;
                foreach (TreeNode node in selectNodes)
                    this.listBox1.Items.Add(node.Text);
            void listBox1_DragOver(object sender, DragEventArgs e)
                 e.Effect = DragDropEffects.Move;

  • Drag & Drop from JTree (String) to JTextArea (Graphics2D)

    Hi everyone,
    I want to create a Drag & Drop from a JTree node to any location in a JTextArea. Upon dropping the node onto the JTextArea, I would want to draw a rectangle and the node name.
    I've created a custom transfer handler which allows the transferring of text from the tree node to the JTextArea.
    Any general ideas on how I can do that are wlecomed.

    I've managed to get hold of the JPanel via TransferHandler.TransferSupport.getComponent()
    the source seems a bit more tricky. I've tried this
    Transferable tr = support.getTransferable();
                   DataFlavor f = new DataFlavor();
                   f = new DataFlavor(MyTreeNode.class,"MyTreeNode");
                   try {
                        Object o = tr.getTransferData(f);...
    but the source does not provide a MyTreeNode instance, but something else (a String, I guess)
    how can I change this?

  • Drag and Drop onto a Panel

    Does anybody know how to enable drag and drop onto a panel? I
    need my users to be able to choose an image from a grid and place
    it where ever they want on a panel or something. How can I do this
    in flex? I know how to do drag and drop from grid to grids or
    select boxes. I just can't get to place it on a panel.
    Thanks for any insight

    Thanks a million. This definitely helps out a lot. Do you
    know of a way where you could put all of them on the panel and
    control their layout? Basically, I need the user to be able to pick
    as few or as many of the flags they want and place them on the
    panel to make a collage. So the end user can drag the items around
    and put them in the panel however they see fit.
    Once again, thanks.

  • How to get UIComponent of the selected node in af:tree with drag and drop

    Hi
    Are there examples showing how one could get a UIComponent using DropEvent to be used with a Popup showing as a custom "context menu" at the target node ?
    Right now, with dropEvent.getDropComponent, we could only get the tree.
    We like to get its selected node so that the popup shows at the node level, not at the tree level.
    Thanks

    Hi Frank
    Thanks for responding.
    We like to show on our custom "context menu" using PopupHints (not using facet name contextmenu) with 3 commandMenuItems.
    Since component id is needed by PopupHints to place this custom "context menu", we tried
    RichTree dropTree = (RichTree)dropEvent.getDropComponent();
    alignId = dropTree.getClientId(context);
    // alignId = pt1:pt_region1:1:pt1:pc1:navTree
    getClientId returns us the tree id and hence the context menu is placed next to tree.
    We like to place the context menu next to a target node of the tree when dragging and dropping.
    But we couldn't figure out how to get that node id.
    In your suggestion,
    List dropRowKey = (List) dropEvent.getDropSite();
    RichTree dropComponent = (RichTree) dropEvent.getDropComponent();
    dropCompoent.setRowKey(dropRowKey);
    how do we then get the id of this node then ? What's the method ?
    Thanks Frank

  • How to drag and drop user from one node to other node.

    Dear All,
    How to drag and drop user from one node to other node.I tried but no success.
    What are precautions to be taken.
    Cay anybody kindly explain it.
    Thank you.

    Hello, if you had this message you had created BP....
    Now you don't have to user USERS_GEN this transaction is used only in first action, when you create the user in R/3 and then you pass this user to EBP in the organizational structure.
    Now you have to:
    1) Go to PPOMA_BBP
    2) Double click on organizational unit that you want to put this user (purchasing organization or purchasing group box for example)
    3) Select assign button in the top of the functions in the transaction
    4) Click on incorporates -- position
    5) Put userID that you want to add in this organizational unit
    6) Click Save
    Thanks
    Rosa

  • I lost my search bar, File bar, Bookmarks, and the one where you drag stuff onto, also my Norton bar because i closed them then it would not let me turn them back on!!! Help!!!!

    I lost my search bar, File bar, Bookmarks, and the one where you drag stuff onto, also my Norton bar because i closed them then it would not let me turn them back on!!! Help!!!!

    '''<u>Menu Bar</u>''' (File, Edit, View, History, Bookmarks, Tools, Help) , see: <br/>
    http://support.mozilla.com/en-US/kb/Menu+bar+is+missing
    * Press F10, Menu bar will appear, click View, click Toolbars, click Menu bar
    * Press ALT, the Menu bar will appear, click View, click Toolbars, click Menu bar<br />
    * Hold down the ALT button while pressing V+T+M
    '''<u>Navigation Toolbar</u>''' (Back/forward, Refresh...Home, URL/Location Bar, Search Bar): Do one of the following
    #click View > Toolbars, click on "Navigation Toolbar" to place a check mark, OR#right-click the Menu Bar, click "Navigation Toolbar" to place a check mark. See: <br />
    #*https://support.mozilla.com/en-US/kb/Back+and+forward+or+other+toolbar+items+are+missing
    #*http://support.mozilla.com/en-US/kb/How+to+customize+the+toolbar
    #*http://kb.mozillazine.org/Toolbar_customization
    #*http://kb.mozillazine.org/Bookmarks_history_and_toolbar_buttons_not_working_-_Firefox
    #*http://support.mozilla.com/en-US/kb/Navigation+Toolbar+items
    '''<u>Bookmarks Toolbar</u>''': Same procedure as Navigation Bar except click "Bookmarks Toolbar".<br />
    '''<u>Status Bar</u>''': click View, click Status Bar to place a check mark<br />
    '''<u>Full Screen Mode</u>''': If you have no Toolbars or Tab Bar: Press F11 (F11 is an on/off toggle). See: http://kb.mozillazine.org/Netbooks#Full_screen<br />
    Also see: http://kb.mozillazine.org/Toolbar_customization_-_Firefox#Restoring_missing_menu_or_other_toolbars
    <br />
    You need to update your plugins. It is important to keep them updated due to continuing security fixes and improvements in those plug-ins:
    * Shockwave Flash 10.1 r82
    * Next Generation Java Plug-in 1.6.0_20 for Mozilla browsers
    #'''Check your plugin versions''': http://www.mozilla.com/en-US/plugincheck/
    #*'''Note: plugin check page does not have information on all plugin versions'''
    #'''Update Shockwave Flash'''
    #*Use Firefox to Download and SAVE to your hard drive from one of the links below; '''<u>the links take you directly to the download and you avoid the "getplus" download manager and "extras" (i.e., toolbars, virus scan links, etc.) on the main Adobe page.</u>'''
    #*SAVE to your Desktop so you can find it
    #*After download completes, close Firefox
    #*Click on the file you just downloaded and install
    #**Note: Vista and Win7 users may need to right-click the installer downloaded and choose "Run as Administrator"
    #**Note: Most browsers other than IE will also get updated with this one download
    #**Note: To update IE, same procedure '''<u>but use IE</u>''' to go: http://fpdownload.macromedia.com/get/flashplayer/current/install_flash_player_ax.exe
    #*After installation, restart Firefox and check your version again.
    #*'''<u>Download links and other information</u>''':
    #** https://support.mozilla.com/en-US/kb/Managing+the+Flash+plugin#Updating_Flash
    #** '''<u>or</u>''' you can download, save, then run the manual installers for IE, then for Firefox (and all other browsers) from here: http://kb2.adobe.com/cps/191/tn_19166.html#main_ManualInstaller
    #* Also see: http://support.mozilla.com/en-US/kb/Installing+the+Flash+plugin
    #* Also see (if needed): http://kb2.adobe.com/cps/191/tn_19166.html#main_Uninstall
    #'''Update Java:'''
    #* Download and update instructions: https://support.mozilla.com/en-US/kb/Using+the+Java+plugin+with+Firefox
    #* Removing old versions: http://www.java.com/en/download/faq/remove_olderversions.xml
    #* After the installation, start Firefox and check your version again.

  • Strange UI sticking issue with drag/drop and JList

    Hi all,
    I have implemented drag/drop between a jtree and jlist. The jtree can accept drops from the jtree (nodes to other parent nodes) and from the jlist. The jlist can accept nodes of the tree being dropped on it.
    Let me say this much, it all works. Works fine and great. BUT, the purpose of my post is I am seeing a very strange and not easily reproducible problem.
    I should first say that after a successful drop, the list removes the selected items. I do support drag/drop for multiple items.
    When I drag items from the list to the tree, reasonbly normal (not too fast), everything seems to work every time. But if I drag an item quickly from the list to the tree, for some reason after the items are removed from the list, another item is selected, sometimes NOT in the place of where the item(s) were selected. Infact, when I drag quickly, I notice the selection changes in the list itself. I only accept tree objects being dropped in the list, so there is no ability to drag/drop list items onto itself, and thus if I drag a list item around the list normally, nothing changes..the item I am dragging stays selected and the cursor shows the drag arrow.
    So this problem seems seems odd. I can reproduce it fairly easily, but only when I click and drag quickly.
    Anyone have ideas? I don't see where in my list code that as I drag, when drop is done, etc that I select anything in the list. I have tried JDK 1.4.1 and 1.4.2 and it does it in both. I don't see a bug in the bug database for it, and I am not sure its a bug in the JVM or my own code!
    Any help is appreciated. Can't really post code as its a large set of code and it is dependent on our company project, so it would take some time to take the code out into its own app to test it again.

    Hi,
    +" Please note that dropSite==null is a legal value for collection components. dropSite=null and DropOrientation==ON indicates that the drop has happened outside the data portion of the collection component and should be treated as a drop on the entire component Also note that dropSite==null and DropOrientation==AFTER indicates that the drop has happened on an empty collection component and the user intends to append the data."+
    http://download.oracle.com/docs/cd/E17904_01/apirefs.1111/e10684/oracle/adf/view/rich/event/DropEvent.html#getDropSite__
    List dropRowKey = (List) dropEvent.getDropSite();
            //if no dropsite then drop area was not a data area
            if(dropRowKey == null){
                return DnDAction.NONE;
            }Frank
    Edited by: Frank Nimphius on Feb 18, 2011 11:18 PM

  • Some Apple Loops refuse to index when dropped onto the Loop Browser

    I'm hoping somebody has a fix for this odd problem. Some of the Apple Loops which came with version 1.0.1 refuse to index via the loop browser.
    First off, I had to re-install GarageBand 1.0.1 after an invalid library error message appeared after upgrading to Tiger. The re-install wasn't completed totally and it did the same thing on 2 attempts. The next error message was: Apple Loops are missing, or something to that effect. I had to install the Apple Loops found in HD->Library->Application Support->GarageBand by dropping them onto the GarageBand Loop Browser at the bottom of its window. It indexed them, they appeared, and I was happy.
    Today, for some reason, I looked through the loops folder mentioned above and noticed about one third of the loops do not appear in the Loop Browser, naturally some really neat stuff is missing! So I decided to drag & drop these Apple loop files onto the browser individually. It says it's indexing them, althought the guitar icon in the dock jumps while doing so, but they never appear and don't show-up in the search box either. They can however be dropped onto the Timeline from the Finder and will play as a music file. The problem is that I cannot listen to them from the loop browser for easy selecting when arranging.
    Is there any way to get these stubborn Apple files to appear & play in the Loop Browser? I was hoping they could be added via the Timeline to the Loop Browser, but have had no success. Also, I tried the Apple Loops Utility thinking maybe the appropriate tags were missing, but can't figure out what is missing, if anything.
    Thanks in advance for your help.
    Barb
    iMac G5 20   Mac OS X (10.4.4)  

    The Loop Browser filters what it displays by only showing loops in the same Time Signature as the song you've created, and within 2 semitones of the Key your song is in.
    You can change the latter by tuning off Keyword Browsing in GB's preferences.
    --HangTime [Will Compute for Food] B-|>

  • Can open Topics by drag & drop, but not by double-clicking in the DITA map

    Hi,
    evidently I made an error somewhere in my structure app, the result is that I cannot open DITA topics by double clicking them in the DITA map anymore (Framemaker does simpy nothing). I can, however, open them by dragging the xml files onto the Framemaker window.  If I use the standard DITA 1.2 application everything works fine so I guess the problem is in my mapping.
    Here is what I tried to achieve:
    We need certain variations of the normal 'topic' type topic. The DTD should be identical, however different structures should be auto-inserted when creating a topic and the topic should have certain attribute values predefined.
    The idea is that the author can select one of these topic types when creating a topic, but when opening an existing topic simply edit it with the standard topic temple.
    Here is what I did:
    I duplicated the topic.template.fm, renaming it say "topic_a.template.fm", "topic_b.template.fm" etc. (just an example).
    I made adjustments to the EDD of these templates, changing the auto-insertions and the default values of some attributes.
    In the structapps.fm file I added XML applications for these new topic types, mapping each application to one of the new templates, but to the original topic DTD and r/w rules. E.g. the application "DITA_1.2_topic_a" is mapped to the "topic_a.template.fm" template, and to the original "topic.dtd" and "topic.rules.txt" files.
    In Framemaker I then created corresponding application mappings in the DITA options. E.g. the topic type "A" (which defines the visible text in the "New topic" menu) is maped to the XML application "DITA_1.2_topic_a".
    The result:
    It works as intended in every way when creating topics. The topics are saved with the standard doctype 'topic'. However for when I try to open topics from the DTD by double-clicking then nothing happens. Opening topics by drag & drop works fine though and they are opened with the normal (general) "topic.template.fm" template as desired.
    Any ideas? Was this confusing or am I completely off somewhere?
    Robert

    Hi Robert...
    When you say that you need "variations" from the normal topic type .. are those structural variations or just formatting? FM associates structure apps with XML files based on the doctype (root element). If your files all have the same root element, then they will all open with the same structure application (unless you specify a different one when opening the file or by importing a new EDD). It sounds like you really should be creating a specialization for each alternate topic type. If you don't, you'll end up getting the wrong "model" assigned to the wrong file.
    Multiple EDDs (structure apps) can share the same DTD, and one EDD (structure app) can support multiple models. This is how the "ditabase" app works. There are lots of ways to set this up, but I think what you've done is probably not quite right.
    The default structure app setup in FM11 and FM12 is very complicated to work with. I recommend creating a single app that supports many models. This isn't always possible, but it sounds like in your case it should be. I've set up one app that supports 13 different specialized topic models and it works fine.
    Note that even though you've added structure apps for each model, if you end up opening the files using the default template, you are no longer using those modified models.
    Sorry, but this is a bit more than can be dealt with appropriately in a forum post. If you'd like more help with this, feel free to contact me off list.
    Cheers,
    …scott
    Scott Prentice
    Leximation, Inc.
    www.leximation.com

  • R6034 error Photoshop CS2 drag & drop

    I've had this problem for some time.  I'm on Vista-64-SP2 running Photoshop-CS2 When first installed PS-CS2 worked fine. I got no errors when starting the program and I could drag & drop icons from the desktop or windows onto the Adobe taskbar icon and the photo would load normally.
    Then I let Adobe automatically upgrade my CS2 and other Adobe products (Dreamweaver CS4, Illustrator CS2, GoLive6, Reader, Flash browser plug-in, etc.) and then I started getting a windows error message R6034 saying that "An application has made an attempt to load the C runtime library incorrectly."  Microsoft says the fix is to recompile the application.  Yeah right!
    OK, so I delete Photoshop and other applications and reinstall them all and the problem goes away ... until I let Adobe automatically update the products and the problem comes back.  Yes, I can probably live with an unupdated virgin version of Photoshop CS2 but there should be an answer from Adobe or at least someone else to validate that my complaint is not unique.
    Another problem that may be related is that I've seemed to have lost the ability for Adobe GoLive6 to open Photoshop images for editing
    Also I've lost the ability to drag & drop from the desktop or a window onto an open Photoshop application or onto its icon on the taskbar.
    I've searched the web and find nothing similar.  The solutions I have found were unrelated to my situation or were for a Macintosh.  I've searched the forums here and find nothing that gives an answer.
    I know pretty much what I'm doing around computers and I keep a clean system.  Informed replies are most appreciated.

    I don't think you will have much luck on that one. The problem here clearly is the way 32bit DLLs need to be piped on 64bit systems, which for some reason does not seem to work in your case, probably due to soem registry key being changed and then it messes up the wghole OLE/ DDE/ COM shebang. It may be further complicated by some dispaly routiner incompatibility. Since CS2 was never developed with Vista 64 in mind, you can't even exactly blame someone and this seems a common problem with an assortment of legacy apps, not just Adobe programs. What you could try is to download Sysinternals' Process Monitor, establish a filter rule specific to the updater and see, which registry keys it changes, which DLLs it replaces etc. this may then offer some clues as to which ones you need to salvage before the update and may possibly put back into place thereafter. May work, may not, but in any case you are doing it on your own responsibility....
    Mylenium

  • The bookmarks toolbar is there but has no item buttons on it. How do I get the items back for this toolbar? Also would like to know if the toolbars can be put on the same line to make more room on the page (drag & drop) ??

    The bookmarks toolbar is there but has no item buttons on it. How do I get the items back for this toolbar?
    Also would like to know if the toolbar can be put on the same line to make more room on the page (drag & drop) ?? Like the menu & bookmarks toolbar could/should fit on same line. This would add more page view...
    Floyd Perry
    Thanks

    Check that you still have the "Bookmarks Toolbar items" placed on the Bookmarks Toolbar
    * Make sure that you have the "Bookmarks Toolbar" visible: "View > Toolbars"
    * Check in "View > Toolbars > Customize" that the "Bookmarks Toolbar items" is on the Bookmarks Toolbar
    * If the "Bookmarks Toolbar items" is not on the Bookmarks Toolbar then drag it back from the Customize window onto the Bookmarks Toolbar
    * If you do not see the "Bookmarks Toolbar items" then click the "Restore Default Set" button
    You can only move the content from a toolbar onto other toolbars if all toolbars support that feature. You need to check that in the options of each toolbar.

  • LR 2.1 & 2.0 ~ DRAG & DROP not working correctly with  photos when moving, applying keywords

    Today this issue started, originally in 2.0, updated to 2.1 and issue continues.
    Issue: DRAG & DROP feature with mouse (or pad on laptop) will select multiple photos, (with CTRL & SHIFT key as typical with Windows machines)but when I try to move them to a different folder, or drop them onto a keyword, it will not work.
    Specifically, I select two photos to move to a different folder, the selection work, but when I try to "grab" the selected photos, Lightroom defaults to One Photo, and it will not grab it to move it. However, I can "right click" on the intended folder and can select "move selected photos to folder" and that works. This issue also applys to assigning keywords, and I would assume other similiar actions. I should note, that I can "rotate", assign "labels", "stars", and Keywords from Keyword sets, it just happens with the "Drag & Drop" feature.
    Help
    The feature works correctly in other Windows programs, so I'm sure it's related to Lightroom and not the mouse.
    I have a Windows Vista machine, 3GB RAM 160GB HD, ~ 75% free space, AMD Turion X2 Dual Core 70 Processor. Everything has worked fine up until this morning.
    Prior to upgrading to 2.1, I optimized my Catalogue. Everything seems to work fine except this feature.
    Help

    Drag by the actual image area of the thumbnail, not the surrounding 'fake slide' cell.
    That's a feature of Lightroom's grid view. Clicking on image area of thumbnail keeps the multiple selection and makes the image clicked the primary select. Clicking on the outer thumbnail area deselects all but the active image.

  • ITunes music sync problem: "drag & drop" works; "Sync Music" doesn't?

    I've been trying to sync a few new playlists of music to my iPhone 3GS with frustrating results.
    I'm hoping someone can explain to me what I may be doing wrong.
    In the past when I wanted to add new music to my iPhone I would use what I refer to as the "Sync Music" or Music tab method.  I would rip the CD, create a new playlist for the album, plug in my iPhone, select it under the Devices list in iTunes then click on the Music tab up at the top of iTunes (I have "Sync Music" checked and "Selected playlists, artists, albums, and genres" checked.  I would scroll down through the list of playlists, find the new playlist I created and check the box next to it and sync my phone to add the new music.
    This has worked flawlessly for years.  Until now.
    The last three albums I have tried to add this way will not sync to my 3GS.  The music will play perfectly on my MacBook in iTunes.  I ripped the music the same way, created the playlists the same way, and I can even get as far as the list of playlists under the "Sync Music" check box in the Music tab.  I can see the new playlists in this list, I check the boxes indicating I want to sync them to my phone, but when I click Apply and then Sync, the music never shows up on my iPhone.
    I keep every new album I import in it's own playlist, so being able to select which playlists I want to sync to my phone is definitely the method I would prefer to use, but since it wasn't working I tried checking the box next to "Manually manage music and videos" on the Summary tab.  This of course disables the Music tab and unchecks the box next to "Sync Music".
    I'm not too familiar with using this method to manage my music library, so maybe someone can show me a better way to do this, but with the "Manually manage music and videos" box checked the only way I know to add music to my iPhone is to drag a playlist one at a time from my iTunes library to my phone in the devices list.
    This is where I get confused.  For some reason the new ablums I ripped, which I was unable to sync the way I am used to ("Sync Music" check box/Music tab method), can be dragged and dropped onto my phone and they are copied to the phone without a problem.
    WHY!?
    Why, am I able to sync these ablums using this tedious and clunky drag and drop method and yet I'm unable to copy them to my iPhone using my prefered "Sync Music" checkbox method?
    If you have any idea why I'm experiencing these problems or if you have experienced a similar problem please let me know.
    Thank you.

    This problem started last year when ios 8 was released. I think apple is trying to force users to buy music on iTunes store and that's why it's impossible to sync other music and also that's the reason why they haven't solved this serious problem. That's really disappoints me and i'm angry with apple because i have like 10 gb of music in mp3 and i can't sync music from iTunes to my iPhone.

  • Drag/Drop a label placing it in its new x,y co-ordinates

    I'm working on a project where I need to drag a label around
    and when dropped, it should be placed wherever my mouse is. So far,
    I can drag it onto a canvas, but it dissapears - when i drag the
    label onto the canvas, its location should be wherever my mouse is
    currently at, ie. i want to drag a label then drop it to a new
    location.
    I already know the code for all the drag functions &
    classes (dragInitiator)- but I'm wondering about the code to
    implement dropping the label to a new location based on my mouse's
    x,y co-ordinates. Please help. Thank you.

    i think u need to do some computation here ... while in the
    dragit() event u should have an account of the mouseX and mouseY
    positions (the positions on the label not the container) with you.
    Then finally when u are dropping it ... u have to take into account
    that u subtract a relative value of this mouse X & Y (relative
    to the container) from the actual container.mouseX and
    container.mouseY.
    here is an example that is working on my system :-
    private function dragIt(event:MouseEvent, text:String, //
    [this is the mouse move event]
    format:String):void {
    tempX = this.mouseX;
    tempY = this.mouseY;
    var dragInitiator:Label = new Label();
    private function dragDropIt(event:DragEvent):void{ // [this
    is the drag complete event]
    this.x=this.parent.mouseX - tempX;
    this.y=this.parent.mouseY - tempY;
    I hope u find the solution with this!
    Sumitro

Maybe you are looking for

  • Can i have two apple accounts for seperate phones on one computer

    i have two iphone work and buisness can i have seperate apple accounts on one computer, to keep contacts etc seperate

  • ISE 1.3 Sponsor Portal.

    Hi There, Just trying out ISE Version 1.3 and encountering some issues getting access to the sponsor portal. Just checking about a Standalone deployment is it OK to have the sponsor portal interface the same as you manage the ISE from? I cant seem to

  • IOS 7 is prevented from uploading to Photo Stream by some apps

    I have found that some apps such as LINE and Facebook Camera prevent iOS 7 from uploading photoos to my Photo Stream. The phenominum is the followings: 1. Take some photos by camera app of iPhone. 2. Uploading the photos to LINE or Facebook by the ap

  • ACNS, bypass list, server-error

    Im using Content Engine Module in Cisco 3700 to transparently monitor Webtraffic to an upstream Squid Proxy. Unfortunatly I'm getting a lot of bypass packets. Every request is leading to insert the upstream proxy into the bypass list (Entry type "ser

  • Flash 8 - text in actionScript window is not anti-aliased

    I just moved over to Flash 8 and the text in the actionscript window is not anti-aliased like it is in 7. Is there a preference setting somewhere that I haven't discovered yet? thanks