Is it Possible to Drop Image On WhiteShareBoard
Hi
I've a requirement for an Air Application.Which include Drag image from System DeskTop and Drop Directly on WhiteShareBoard.
Will you pls inform me is that possible?I've studies Custome Shape Example.In which user need to upload the image and Then Select the image and use it.
Can't we shorten entire Process?
Rajiv
Also Rajiv,
Please explore the SDK source to get a better understanding of WhiteBoard. It might take some time, but would help you build robust apps. The other thing you might have to do is
1) Define a WBImageShapeDescriptor that would extend WBShapeDescriptor
(Explore files such as WBRectangleShapeDescriptor inside the package
com/adobe/coreUI/controls/whiteboardClasses/shapeDescriptors)
2) Define WBFileImageShape that would extend WBShapeBase
(You could modify WBFileImageShape inside WhiteBoardCustomShapes app)
3) Instantiate a base WBFileImageShape inside WBImageShapeDescriptor and then add to the model like you did
Please do let me know if you need more help. Files that might help you understand how a shape is added to WhiteBoard
WBRectangleShapeDescriptor.as in src/com/adobe/coreUI/controls/whiteboardClasses/shapeDescriptors
WBSimpleShape.as in src/com/adobe/coreUI/controls/whiteboardClasses/shapes
SharedWBModel.as (onItemReceive method) in com/adobe/rtc/pods/sharedWhiteBoardClasses
WBFileImageShape.as in WhiteBoardCustomShapes sampleApp
WhiteBoardModel.mxml in WhiteBoardModel sampleApp
I know its a lot of files, but it should help you in what you want to do.
Thanks
Arun
Similar Messages
-
How come in Pages, i cannot drag and drop images?
how come in Pages, i cannot drag and drop images?
Yes you can in all versions.
It helps if you actually describe what you are doing.
Where are you dragging it from and where are you dragging it to?
In what version of Pages?
I suspect you are trying to drag an image into a Table, Header or Footer in Pages 5, which is no longer possible. Feature removed by Apple.
Peter -
How Do I Drag and Drop Images From Windows Explorer to Applet?
I'm not able to Drag and Drop Images and other files (like audio and video files) from Windows Explorer to Applet. Is that Possible to do so?. Can SomeOne help me out regarding this? Thanx in Advance.
No problem here. Can you say any more about the situation?
Jerry -
Drag & drop images from Finder into new Photoshop layer?
Is it possible to drag & drop images from Finder into a new Photoshop layer?
I can do it from a web browser, but not the Finder.>I couldn't find a way to do so in Bridge, but also I never use that program. Never got into Bridge's workflow. >
I really do suggest that you re-visit Bridge especially the CS4 version.
I just cannot conceive of trying to use a Digital camera, a Scanner or the Creative Suite programs without using Bridge and ACR.
I can even use it to read PDFs and inDesign documents (all pages!) without opening Acrobat or InD..
>I usually keep a "work" window open with all the files I am using for a project, so it would be far more handy to be able to skim them in the Finder.
It is now far more effective and efficient to do that in Bridge than in the Finder.
This is where you would find the new Collections feature to be invaluable:
Just select all the images and other files connected to a project from any folder and drag their icons into the same Collection.
You then have all aliases (previewable at full-screen slide-view size with one click of the space bar in CS4) to ALL of your files which are now visible in. and openable from, a single panel. -
I am no longer able to drag and drop image files int this JAVA supported site. It had always worked flawlessly in the past.
I would open the site, go to Send Files, allow access, fill out the fields and then drag and drop my image files. Now I can only use the ADD (+) button to do so.
I have the latest versions of OS-X Lion and JAVA installed on my computer
http://www.clippingprovider.com/CP_II_EU/Welcome.htmlThis is the Tech Sheet on the subject:
Photoshop Help | Managing paths
It contains this item under Manage Paths:
When you use a pen or shape tool to create a work path, the new path appears as the work path in the Paths panel. The work path is temporary; you must save it to avoid losing its contents.
Ok, the red you referred to is a Stoke you added. Then QuickMask is not involved. -
Is it possible to insert images in Adobe 9 Standard?
It appears that it is not possible to insert images in Adobe 9 Standard. There is no TouchUp Object Tool in the Advanced Editing Toolbar in the standard version. Only a TouchUp Text Tool. Is this not a basic function being able to add or change an image in a document? The tutorials all show this as a capability but they are also demonstrating in the Pro version of Acrobat. Is there a work around or have I been suckered into buying a product that doesn't quite meet my needs?
The Touch-Up Object tool is not available in Standard.
Adobe Acrobat is not meant to be a word processing program; it is meant to be a cross-platform method for document exchange. Changes are best made in the source program. While the answer to your question would not have been obvious from this list, it is a good reference for the difference between Acrobat products: http://www.adobe.com/products/acrobat/matrix.html .
If for some reason it is not possible to edit the source file and create the pdf again, you can insert your image as a form button and then flatten it. A lot more work, but post if you want help with this.
--For other folks reading this thread, Adobe offers trials of its programs. Consider testing before buying. -
Why can't I drag and drop images from the browser into other programs?
Ever since I upgraded to Firefox 4 (even after I upgraded again to Firefox 5) I have been unable to drag images from the browser into other programs, including MS Paint and IcoFx. I receive an error message stating that the file (the address given lists it as being located in the temporary files folder) cannot be found.
Prior to this I had always been able to conveniently drag and drop images for easy editing without having to save first and then open them. This feature is important to me, as I work with graphics very often, and is still available in Chrome and Internet Explorer. I love Firefox though, and hope that there is something I can do to fix the problem.I had this problem on Windows 8.1.1 and iTunes 11.2.2.3
To resolve it from within Itunes I did : Edit, Preferences, Sharing.
I took the tick out of "Share my library on my local network"
Click OK.
Closed iTunes/
Reopened iTunes and I can drag and drop.
I went back into Edit, Preferences, Sharing and put the tick back and clicked OK.
Works fine now. -
Drag n Drop image along with the ability to resize the image in hbox
Hi All,
Is there an application similar to paint where we can drag n drop images and also resize them in javafx application? and also can we draw a line and also resize it?
Thank You
Edited by: SathyaRao on Jun 3, 2012 3:08 AM
Edited by: SathyaRao on Jun 3, 2012 6:49 AMHello sathyaRao,
I don't think there is anything like that . You need to develop by yourself . I've written some blog post which might be related with your requirement.
- Draggable Node in Javafx 2.0
- JavaFX Drag and Drop Cell in ListView
For more please do some google on keywords like : javafx,drag,drop etc
FYI: Documentation of JavaFX 2
Thanks,
Narayan -
Drag and drop images using tilelist in flex
i just want the working code for drag and drop images using
tilelist in flexTry JDK 1.4 and call setDragEnabled(true)
I will also post updated version of MediaChest soon using custom TransferHandler for DnD different types of Objects. -
Drag and drop Images into Multiple Targets
Hello,
I want to alter the NI example "Drag and Drop - Multiple Data Types to Start Drag" to use multiple image Targets. The current VI only allows for dropping image into a single Target. I want to duplicate the target window a few times, in order to drop different images into each different Target. I can't seem to figure out how the VI recognizes and differentiates the Targets.
Thanks,
Labview 2009 SP1Hello,
Please see attached... That's a simple way to perform what you need : each target is handled in the same event case (the target is differentiated by using control refnum).
Hope this helps,
J.
Attachments:
Screenshot.jpg 132 KB -
Drag and Drop image to desktop == Zero Byte File
Drag and Drop image to desktop == Zero Byte File
== This happened ==
Every time Firefox opened
== FireFox 3.6 OR Windows 7 64i have the same problem and Sun doesn't seem to have an answer to this question. The DnD works in Mac OS, but not on Window 2000/XP.
-
Drag and Drop image is Duplicated
Hi,
In my code, I want to drag and drop an image from a list populated from a folder, and its information is populated from an xml file. Now, I can drag the image from the list and drop it in the container, However, when now, I want to drag around the dropped image, it is duplicated, an extra image is created in the canvas. So, if anyone can tell me how not to create an extra copy of the image in the new container (canvas) that it was dragged to.
Here is the code:
<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="vertical"
name="Drag and Drop Tutorial"
creationComplete="init()"
initialize="pictureService.send()">
<mx:Script>
<![CDATA[
import mx.controls.Image;
import mx.core.DragSource;
import mx.core.IUIComponent;
import mx.managers.DragManager;
import mx.events.DragEvent;
import mx.controls.Alert;
import mx.rpc.events.FaultEvent;
import mx.rpc.events.ResultEvent;
import mx.collections.ArrayCollection;
[Bindable] private var pictureData:ArrayCollection;
private function resultHandler(event:ResultEvent):void{
pictureData = event.result.data.image;
private function faultHandler(event:FaultEvent):void{
//code
public function init():void
// a mouseDown event will start the drag
list.dataProvider = pictureData;
//picture in the list is being dragged
this.picture.addEventListener( MouseEvent.MOUSE_DOWN, beginDrag );
// accepting a drag/drop operation...
this.area.addEventListener( DragEvent.DRAG_ENTER, acceptDrop );
// handling the drop...
this.area.addEventListener( DragEvent.DRAG_DROP, handleDrop );
public function beginDrag( mouseEvent:MouseEvent ):void
// the drag initiator is the object being dragged (target of the mouse event)
var dragInitiator:IUIComponent = mouseEvent.currentTarget as IUIComponent;
// the drag source contains data about what's being dragged
var dragSource:DragSource = new DragSource();
// Add the data to the object.
dragSource.addData(1, 'value');
// Create a copy of the coin image to use as a drag proxy.
var dragProxy:Image = new Image();
dragProxy.source = mouseEvent.currentTarget.source;
dragProxy.setActualSize(mouseEvent.currentTarget.width,mouseEvent.currentTarget.height)
// ask the DragManger to begin the drag
DragManager.doDrag( dragInitiator, dragSource, mouseEvent, dragProxy );
public function acceptDrop( dragEvent:DragEvent ):void
var dropTarget:IUIComponent = dragEvent.currentTarget as IUIComponent;
// accept the drop
DragManager.acceptDragDrop( dropTarget );
// show feedback
DragManager.showFeedback( DragManager.COPY );
public function handleDrop( dragEvent:DragEvent ):void
var dragInitiator:IUIComponent = dragEvent.dragInitiator;
var dropTarget:IUIComponent = dragEvent.currentTarget as IUIComponent;
if(dragEvent.dragSource.hasFormat("items"))
var items:Array = dragEvent.dragSource.dataForFormat("items") as Array;
var img:Image = new Image();
img.x=dragEvent.localX;
img.y=dragEvent.localY;
img.width = 50;
img.height=50;
img.source="assets/" + items[0].id + ".jpg";
img.addEventListener(MouseEvent.MOUSE_MOVE,beginDrag);
area.addChild(img);
else
dragEvent.dragInitiator.x=dragEvent.localX
dragEvent.dragInitiator.y=dragEvent.localY
]]>
</mx:Script>
<mx:HTTPService id="pictureService"
url="data/data.xml"
result="resultHandler(event)"
fault="faultHandler(event)"/>
<mx:DataGrid id="list" width="238" height="200" y="26" x="10" labelField="src" dragEnabled="true"
dataProvider="{pictureData}">
<mx:columns>
<mx:DataGridColumn dataField="id" id="code">
</mx:DataGridColumn>
<mx:DataGridColumn id="picture" draggable="true" >
<mx:itemRenderer>
<mx:Component>
<mx:Image source="assets/{data.id}.jpg" />
</mx:Component>
</mx:itemRenderer>
</mx:DataGridColumn>
</mx:columns>
</mx:DataGrid>
<mx:Canvas id="area" x="266" y="28" width="436" height="401" backgroundColor="#c0c0c0"
dragDrop="handleDrop(event)" >
</mx:Canvas>
</mx:Application>your handleDrop is called twice. you have assigned this eventlistener twice - one in init function and one in inline.
remove one and it works. -
How come I cant drag and drop images onto my imove
I can't drag and drop images from my desktop or folder into imovie.
Simply because you are not posting to the iMovie forum. Post there and find out.
-
Is it possible to drop animated files from edge cc into premier pro cc ?
is it possible to drop animated files from edge cc into premier pro cc ?
Hi paddymaxg,
As far as I know, there is no such workflow.
Thanks,
Preran -
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
Maybe you are looking for
-
How can I display XSLT transformer errors on a web page ?
Hi, I have some JSP pages that access DB, create an XML based on DB data and then transform it into HTML through an XSLT stylesheet. Developing the XSL code it's easy to make mistakes and generate errors on trasformation, but what I receive on the we
-
Permissions Issue with Infopath Data Connection
I'm not really sure how else to title this.... Issue - InfoPath Form on SharePoint 2010 gives 'You do not have permissions to access a SharePoint list that contains data required for this form to function correctly." It gives a correlation ID Log fil
-
When I go in to the contact, the facetime icon is only located below the phone number. I am not given the option to FaceTime with an Apple ID. Is there a setting or something that I need to go in and change in order to make FaceTime calls to an App
-
Best practice recmmendations for backups
Hi, I wanted advise from senior basis consultants on backup strategy. Here is a summary of our environment: We have 6 SAP servers, with more than 1 SAP system installed per server. The SAP systems include CRM, SRM, XI, Portal, Solution Mgr, ERP , R/3
-
Is there a warranty for iphone 5s case
Is there a warranty for iphone 5s case, i was a xmas gift and today it looks terrible