Drag/Drop Proxy Image

I would like to be able to access the Proxy Image during a
drag/drop operation inside the DragOver event. Is it possible to
get refernce to that object to be able to change the image, get
it's current location, etc?

1. Using canvas in flash is uncommon, even in Flex its a class that has been replaced by more flexible solutions since flex 4: http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/mx/containers/Canvas.ht ml
2.Shouldn`t your localToGlobal method not starting from canvas ? Instead of image? Not sure how you setup your whole application)
http://www.orlandmedia.com/blog/tutorials/how-to-use-localtoglobal-in-actionscript-3-0/

Similar Messages

  • Drag Drop icon/image in JApplet

    Hi! I would like to implement a Drag Drop of images/icons between two JPanels in a JApplet. Can someone give me a working example of the code that I have to implement ???
    Thanks to you !!!!
    TGuido

    This should help:
    http://java.sun.com/docs/books/tutorial/uiswing/misc/example-1dot4/index.html#BasicDnD

  • When I import or drag/drop an image from Finder into Pages, it floats the image instead of keeping it inline with text

    I'm new to Pages and I've searched online for an answer to this question but haven't found anything quite what I need.
    When I import an image from Finder (or drag and drop from Finder) into Pages, the Text Wrap default is "automatic" which seems to be "in front of text." I have to manually click each image and then change it from "Automatic" to "Inline With Text." Is there a way to change the default so it's not "Automatic" but "Inline With Text" to save me these steps for every single image I import?
    (If importing from Media Browser would behave differently, I don't use iPhoto except for Photo Stream so I need to bring them in from where I've saved them in my Finder.)
    Thanks so much for any help!

    Good questions...  I'll have to try and figure out when the problem first happened - I was thinking it was when I upgraded to Safari 5.1.4 but that might not be the case...  I'll try your suggestions to see if any of them eliminate the problem (I have restarted recenlty and that didn't fix it) but I'll try repairing permissions,etc.  Thanks!
    hmmm... Mcbuffy: are you implying that you *don't* get the webloc when dragging an image out of Safari and that this isn't a caused by change to Safari but is a big/conflict in mine?

  • Drag/Drop cursor image

    I have a problem with the cursor image during a drag operation. I can successfully set the cursor image (to crosshair) onMousePressed as seen here:
    https://picasaweb.google.com/106701681904956191227/January202012#5699582095046710866
    when I begin dragging the cursor, the crosshair disappears and is replaced with a "document" image as seen here:
    https://picasaweb.google.com/106701681904956191227/January202012#5699582124535625250
    and it covers the drop target.
    How do I keep the crosshair cursor all the way through to the drop completion?

    How do I keep the crosshair cursor all the way through to the drop completion?I tried this on Windows and there is no way to change the default cursor while dragging.
    For example once the drag event has started if you try to set the cursor on the scene, the request to change the cursor won't take effect until after the drag and drop operation has completed.
    I guess Macs works the same as windows in this regard, just with different icons.
    The default drag and drop cursors for windows are a circle with a line through it while dragging if not over a drop target and a pointer with a question mark if over a drop target.

  • Drag Drop images/icons JApplet

    Hi! I would like to implement a Drag Drop of images/icons between two JPanels in a JApplet. Can someone give me a working example of the code that I have to implement ???
    Thanks to you !!!!
    TGuido

    The standard procedure is to post a small message to make your old post go to the top

  • Drag and Drop and Image Size

    I need to be able to drag and drop images but I need them to be a certain size when I drag them out of an Aperture project. For various reasons, I don't want to use the export function. Only drag and drop will be efficient for the workflow that I"m planning. Problem is, the pixel dimension is not wide enough when I test it by pulling an image on to the desktop.
    My ultimate goal is drag them, sized and ready to go, and drop them onto a web browser upload page. I don't want to fumble with the extra steps of exporting them to another folder on the desktop and then upload the images from that folder to the browser.
    So does anybody know how or if it's possible to control the drag and drop SIZE /DIMENSION of an image?

    The drag and drop size is determined by your preview settings. What actually gets "dragged & dropped" is the preview, not the master file. You can control the quality and size of the preview in the Aperture preferences.

  • When i drag and drop an image on my site. it gives the following error. "Unable to access local files due to browser security settings. To overcome this, follo"

    I am using the firefox version 17 and when i drag and drop an image on my website. It gives me the following error.
    Unable to access local files due to browser security settings. To overcome this, follow these steps: (1) Enter "about:config" in the URL field; (2) Right click and select New->Boolean; (3) Enter "signed.applets.codebase_principal_support" (without the quotes) as a new preference name; (4) Click OK and try loading the file again. Or go to the homepage for a link to the tutorial on how to do it.
    I have completed the above steps and it is still showing the same error message. Any help would be highly appreciated.
    Thanks.

    Thanks kumars ,
    I have a specific drag and drop area on our website. This works fine for all earlier releases of Firefox after these security settings
    "(1) Enter "about:config" in the URL field; (2) Right click and select New->Boolean; (3) Enter "signed.applets.codebase_principal_support" (without the quotes) as a new preference name; (4) Click OK and try loading the file again."
    Bust these settings not work for me in Firefox 17.
    Yes the drag and drop functionality is java script based and i am not using any script blocker addons.

  • Drag and Drop and image

    Hallo,
    Is there an example how i can drag and drop an image into an
    other panel as image. Not into a list or grid but onto a panel. Ive
    tried it for a couple of days now and am getting stuck...
    thanks

    Did you see the second example of this quickstart?
    http://www.adobe.com/devnet/flex/quickstart/adding_drag_and_drop/

  • Which Listener I should use if I drag and Drop an image/icon into a JPanel?

    Dar Friends:
    Happy new year.
    I try to drag and Drop an image/icon into a JPanel, and hope I can immediately detect it after DND,
    Which Listener I should use in this JPanel if I drag and Drop an image/icon into a JPanel??
    Thanks

    Thank camickr .
    I can dnd an image into a JPanel called JPanelOld already, I hope to use another JPanel or JTree to listen to any Dropped Image in JPanelOld later on so I can take some action in another JPanel or JTree.
    so what kind of Listener I should use for my purpose??
    where to add this Listeners??
    Happy New Year.

  • How to drag and drop href image from webbrowser to office using vsto c# wpf?

    I want to drag and drop href images from web browser to office using C# wpf. Is it possible to drag href images ? give me the solution

    Hi,
    Are you developing an Office Add-in application? Do you mean you hold a wpf Web Browser control in the Office Add-in project?
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • BUG - Drag and drop an image, only working at the 2nd try

    I use the last version of JDeveloper : 11g R1 : 11.1.1.2.0
    I try to drag and drop an image in a facet of a panelsplitter.
    Once the page is loaded, the first time I try to drag the image, it does not work : the image does not follow the mouse.
    When I try to drag the image again, then it works : the image follow the mouse
    So I don't think it's related to the destination/target.
    I feel it's so simple, since it just requires to add <af:componentDragSource/> inside <af:image/>
    that if it does not work, it can only be a bug in the functionality offered by ADF ...
    Or maybe there is something wrong with the generation of the page ?
    I get this message in blue in the "running log of WebLogic" :
    <FormRenderer><setupEncodingContext> Multiple forms detected on viewId: /myPage.jspx. Rich client currently has some limitations in dealing with multiple forms.
    Please note that I use jsp:include inside f:subview to include fragments (.jsff) so that the source and the destination are not in the same file, the source in a .jsff while the destination is on the main .jspx
    The code related to the drag and drop :
    <af:form id="form">
    <af:panelSplitter orientation="vertical" splitterPosition="70" id="psHeader" clientComponent="true">
    <af:panelAccordion id="paPref" discloseNone="true" styleClass="fullSize">
    <af:showDetailItem id="sdiTemp" text="Templates">
    <af:panelBox>
    <af:panelGroupLayout id="pglTemp" layout="scroll">
    <af:panelList id="plTemp" rows="2">
    <af:image id="imTemp2up" source="/images/anImage.jpg" inlineStyle="" shortDesc="...">
    <af:componentDragSource/>
    </af:image>
    <f:facet name="second">
    <af:dropTarget dropListener="#{dropHandler.handleComponentMove}" actions="MOVE">
    <af:dataFlavor flavorClass="javax.faces.component.UIComponent"/>
    </af:dropTarget>
    Any idea ?
    Thanks in advance,
    JP

    Hi,
    no bug that I can detect here as it works for me with the same setup. How likely is it that the image is too small so that you don't grab it probably the first time?
    Frank

  • Drag drop images while composing the forum post

    Hi All,
    Many time I felt like it would be good if we can drag drop images to the forum post being composed.  Similar to Gmail compose, if NI forum composition page also has that drag drop feature, it would be great.  But I'm wondering if it's only me or other people are also out there looking for this feature.
    Thanks,
    Ajay.

    Francois,
    I have tried to implement this bean but I'm having problems. I've been using your
    LAF package for almost 4 years now without issue. I tried the jar file from the zip
    file. I also created a new project and recompiled the java code against the 10.1.2.3
    frmall.jar file that matches our app server. I resigned it and it's still not working.
    Maybe I'm just missing something simple. When I compile and run the form, I see
    the canvas and I can change the text fields, but I don't see how I can drag and
    drop items. Hopefully, you can think of something that can fix our problem. I would
    love to be able to use drag and drop functionality in an upcoming application.
    We're running the following versions:
    App Server: 10.1.2.3
    DB: 10.2.0.5
    JDev: 10.1.3.3.0
    Windows XP for the clients
    Windows Server 2008 for the servers
    Thanks,
    Jason
    Edit: I looked in my java console and saw that my issue was that we signed this jar file with a different certificate. I created a special config as Francois has suggested in another post and included only the DnD.jar file and it worked. However, I can't get the image or multi-line text areas to drag and drop. I'll keep poking around and see if I can figure out what's going on. The console seems to recognize when I'm dragging and dropping from all fields.
    Edited by: hanszarkov on Jun 27, 2011 12:58 PM

  • Drag & Drop Images Between Tabs?

    Hi, Forgive me if I am missing the obvious but I need some help.
    Just got myself an iMac and I am in the process of getting it set up how I like it, Made the move from a Windows PC where I used the FireFox browser.
    My plan had been to just use Safari on my Mac to take advantage of all the good things like handoff, keychain etc with my other iOS devices.
    Now here is my problem, I use eBay a lot and I upload extra photos to hosting sites, then drag and drop them from that tab into the description on the eBay tab.
    However Safari does not seem to allow this, When trying to drag the images between tabs I just get a green + symbol which replaces the tab whereas when I use FireFox to do the same the other tab essentially "opens" allowing me to drop the image in.
    Is there anything I can do to fix this or a work around? I have tried the "Copy image" option but when I paste it in I just get a broken image picture.
    I should say the OS X version of FireFox works fine so it must be something to do with how Safari handles it.
    Hopefully somebody can advise?
    Many Thanks
    Craig

    I have found a slight work around in that if you use a new window instead of of a tab, then shrink it down you can drag and drop images.
    But surely there has to be a way to do it between tabs?
    Basically I am looking for a way to have the tab open when it is hovered on instead of the green + button appearing...

  • How resize the image after drag drop according to container

    Hi,
    I have a image which can be drag drop in different size of containers. After drop i want to resize the image by maintaining the aspect ratio according to the container in which it is going to be drop. I will be very thankful for your help.

    thank you, brother
    i will try it see if it is work
    whatever, i will report the result later

  • Updated iPhoto last night...Now, can't copy/paste or drag/drop images to folders/thumb drives outside of iPhoto

    As the title states, I updated iPhoto last night as per suggestion from the App store.
    It installed, and I went back to work using it. Within a few minutes, iPhoto crashed. I sent the report to Apple.
    When i opened iPhoto back up, it said it found inconsistencies and needed to repair. so i let it repair, which took a while...when it was done, i went back to work editing some photos from a recent shoot. It almost crashed again while i was working and then it came out of it. Anyways, i shut down everything after a bit of work and all was good in the world...until this morning.
    I went to get the images out of iPhoto and onto a thumb drive, but it wouldn't let me. I selected 50 images, copied them, and went to paste in the folder on the thumb drive...but it only pasted 10 of the 50 images. so i tried dragging them all and dropping them into the folder. nothing happened. it has done this to me once before, and when it did, i restarted and tried again and it worked...this time, i restarted and tried again and it kept doing the same thing. so i shut it down, did a cold boot, got everything back up, and tried again...still doing the same thing.
    It seems like every time i do an upgrade to iPhoto it causes some kind of problem. it never crashed on me until i did the first update, and since then the stability has been a real issue.
    So anyways, i didn't have a lot of time this morning before i had to go to work to try to figure this out, BUT, i did notice that it would allow me to drag and drop 1 image at a time...and that would save to the folder i selected...but i don't have time to do 1 image at a time...EVER! i am a photographer and need to drag and drop hundreds of images at a time.
    Can anyone help?
    thanks!
    Joe

    Thanks for the response, Larry!
    I will try that when I get home and see if it works. Will update the thread with the results then.
    I hope it works as you described, but it is/was so much easier to just be able to select the photos in iPhoto and drag/drop them directly into the folder on the thumb drive...it's odd it doesn't work anymore...?

Maybe you are looking for

  • Installing CS4 on a MacBook Pro Retina

    So, I seem to be having all sorts of issues re-installing Photoshop CS4 on my new MacBook Retina. I've erased completely the version that came in via my transfer from Time Machine (which wasn't working) and started my re-installation via the original

  • BI : Diagnostic and support desk tool

    Hello I'm currently using BI7.0 SP9 and the support desk tool version 0.370. I have a current red light that i'm not able to solve : URLs Prefixes Customized on Both J2EE and ABAP Side and the  long text is : The URL for ABAP customizing table RSPOR_

  • Transaction Launcher - TCode Authorization Issue for ERP transaction

    We are trying to implement an ERP transaction in the CRM WebUI via the transaction Launcher.  Everything has been set up properly and the transaction appears in the nav bar.  I am running it to launch a new window.  When i click on it, a new window p

  • X vs ohci-hcd vs mouse ;-)

    Hello, i have a strange problem. When I start X (XFree or X.org doesnt matter) it disables the mouse (led is turned off) and the whole system crashes. (very often but not everytime) That only happens if ohci-hcd is loaded and (!) my mouse (Logitech)

  • How to upload photos from iPad to eblogger

    I have photos on my ipad 2 that I would like to upload to my eblooger blog...how does this work? Is it even possible? There doesn't even seem to be a media browser to search for photos.