var target:UIComponent = event.curentTarget as UIComponent;
var dragProxy:UIComponent = new UIComponent();
var w:Number = Math.round(target.width / target.scaleX); // will throw error
if greater than 2880
var h:Number = Math.round(target.height / target.scaleY) // will throw error
if greater than
Still doesn't work, would it be too much to ask you to post that code to draw
bitmap data onto UIComponent? I tried to implment that idea with following
code:
public function dragItMain(event:MouseEvent):void{
// Get the drag initiator component fr
Sorry, try BitmapAsset instead of Bitmap, which extends Bitmap and
implements IFlexDisplayObject. If that doesn't work, I have code to draw
the bitmap data onto a UIComponent.
- Dan Freiman
On Nov 12, 2007 7:13 AM, Mirko Sabljić <[EMAIL PROTECTED]> wrote:
>
> I followed your advice Dan and used
I followed your advice Dan and used this code:
public function dragItSubs(event:MouseEvent):void{
// Get the drag initiator component from the event object.
var dragInitiator:UIComponent = event.currentTarget as UIComponent;
/
var target:U
Thank you very much for your help, i'll try that and let you know how did it
go.
best regards
Daniel Freiman wrote:
>
> Use a bitmap of the target instead of the original target.
>
> ///
> var target:UIComponent = event.currentTarget as UIComponent;
Use a bitmap of the target instead of the original target.
///
var target:UIComponent = event.currentTarget as UIComponent;
var dragProxy:Bitmap;
var myBitmapData:BitmapData = new BitmapData(target.width, target.height);
myBitmapData.draw(target); // dra
Hi,
I am trying to drag an UIComponent instance over an Image object and
drag and drop work fine but i am having problem with dragProxy image.
I would like to use my original drag source UIComponent as dragProxy
image but if i do the following:
public function dragItSubs(event:MouseEvent):v
Anyone know if this is possible? If so, how does one approach it?
Thanks in advance.
Anyone knows that?
VELO
On Jul 19, 2007 1:30 PM, andrewwestberg <[EMAIL PROTECTED]> wrote:
> Does anybody have an idea of how to do snap to grid during a drag
> operation? I have a canvas and I'm dragging some components around on
> it to change their location, but I'd like them to want to sti
Hi,
I have components that I'm using as drag targets and drop targets.
The drag/drop is working fine until I scroll the screen down. Now,
the drop target seems to be offset by the amount of the scroll.
Here is a simple example showing the effect:
http://www.cfa.harvard.edu/~jbattat/personal/te
Subject: [flexcoders] Drag and drop
Hi, I not sure what is missing on my code. In addition to dragging a
row from a datagrid to a listgrid I would like to have an image
dragged to the listgrid. I am able to drag the image. However my
dragEnter function is not working. I would appreciate any help
Hi, I not sure what is missing on my code. In addition to dragging a
row from a datagrid to a listgrid I would like to have an image
dragged to the listgrid. I am able to drag the image. However my
dragEnter function is not working. I would appreciate any help you
offer. Thanks in advance.
Mathe
pr
Does anybody have reference to the latest Flex3 Beta examples?
What is the latest method of using drag and drop for multiple operating systems
to drop onto an AIR application and upload files?
thx
p.s. Flex3 to be released any day right? At MAX next week is it?
---
*To:* flexcoders@yahoogroups.com
> *Subject:* [SPAM] [flexcoders] Drag and Drop Files
>
>
>
> Hi All
>
> I want to build a Flex app to upload images for a gallery.
>
> Is it possible to select image files in My Computer for example and
> drag and drop them into flex?
>
@yahoogroups.com
Subject: [SPAM] [flexcoders] Drag and Drop Files
Hi All
I want to build a Flex app to upload images for a gallery.
Is it possible to select image files in My Computer for example and
drag and drop them into flex?
Ideally I'd like to drop them then display thumbnails of the i
Hi All
I want to build a Flex app to upload images for a gallery.
Is it possible to select image files in My Computer for example and
drag and drop them into flex?
Ideally I'd like to drop them then display thumbnails of the images
with an upload button.
I'm expecting the answer to be no as it'
calculateDropIndex?
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of flashcrow2000
Sent: Monday, September 17, 2007 5:56 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] drag and drop an image object, over a list object
Hello
Hello all,
I have the following problem: I need to be able to drag an Image
object over a list, and make some operations based on the specific row
i'm dropping that picture on. The list contains names of different
people, and each picture I drag over one name becomes assigned to that
person.
I ha
I am running into problems using drag and drop in Flex. I have a
data grid and a list; I want to implement drag and drop between the two.
Here is the catch:
The list and the grid have different data providers that are of
different types. This causes the list not to accept dragged items
from
groups.com
Subject: [flexcoders] Drag and drop for list items
Hi all,
I have a problem (obviously). It's a bit hard to explain, but I'll do
my best.
So...I have a list item, and whenever I drag and drop one entry
outside of the list, I want it to display the same animation as when
I&
Hi all,
I have a problem (obviously). It's a bit hard to explain, but I'll do
my best.
So...I have a list item, and whenever I drag and drop one entry
outside of the list, I want it to display the same animation as when
I'm dropping the entry on the list ( or any other mxml element which
support
Dave.
Try a little search at www.flexsearch.org or
http://www.flexsearch.org/index.shtml?cx=017079146949617508304%3Ama9avcq0-ng&q=Drag+and+Drop+Example&sa=Search&cof=FORID%3A9#1135
Will help to find lots of them.
Regards
Igor Costa
www.igorcosta.org
On 3/12/07, tosadavemgr <[EMAIL PROTECTED
Does anyone have a working example of the following. I have a list of
products in a tilelist, represented by thumbnail images. The product
list is stored in a static XML file accessed via HTTPService.
My TileList:
My itemRenderer:
http://www.adobe.com/2006/mxml";
horizontalAlign="cen
I have a Composite Actionscript component that has a Image object. I
add an event listen to my component for DragEnter and when I run it
from the Flex Builder it works fine, I get the event but when I deploy
it to my application I don't get any Drag events. Does anyone know
why this might be or h
I'm using 2.0, I'm not in a huge hurry to upgrade right before I finish this
project :)
Thank you for offering help, I got it working by changing the TileList
attribute dragMoveEnabled="true" (I didn't realize this could be turned on
when using custom drag and drop handling).
On 1/10/07, Paolo Be
are you using flex 2.0 or 2.0.1?
I have an application using drag and drop and need to move the items within
the TileList, it was working just fine in version 2.0, now since I updated
to 2.0.1 it doesn't move the items anymore but instead makes a copy.
Basically I want to order the Items of the Ti
Hard to imagine but I had not actually tried running the sample code I was
working from, assuming it worked how I wanted it to...anyway as it turns out
the sample also COPIES and doesn't move, so whatever I am doing is working
how it's supposed to, it's just not how I want.
Let me approach this a
anuary 09, 2007 3:28 PM
*To:* flexcoders@yahoogroups.com
*Subject:* Re: [flexcoders] Drag and Drop within TileList - why does my
code copy instead of move?
Hi Stephen
I'm not gonna argue with you since you work for Adobe :)
I did figure out shortly after posting that the DragManager.NONE line
wasn
owed during drag-and-drop.
The default value is false.
regards,
peter
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Rachel Maxim
Sent: Tuesday, January 09, 2007 3:28 PM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Drag
want to do a
move or a copy.
Hope that helps,
Stephen
--
*From:* flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] *On
Behalf Of *Rachel Maxim
*Sent:* Tuesday, January 09, 2007 12:49 PM
*To:* flexcoders@yahoogroups.com
*Subject:* [flexcoders] Drag and Drop within TileList - why does my code
c
works without the rules, remove them. Then add them back until it
breaks.
Tracy
--
*From:* flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] *On
Behalf Of *Rachel Maxim
*Sent:* Tuesday, January 09, 2007 1:23 PM
*To:* flexcoders@yahoogroups.com
*Subject:* Re:
achel Maxim
Sent: Tuesday, January 09, 2007 12:49 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Drag and Drop within TileList - why does my code
copy instead of move?
Hello,
I would really appreciate another set of eyes taking a look at this code
to see what I'm doing wrong. I ha
: [flexcoders] Drag and Drop within TileList - why does my
code copy instead of move?
I'm gonna keep working on it, but that is exactly what I am trying to
find! Unfortunately this is pretty bare-bones as far as functionality
goes, so if I remove just a couple lines then the entire drag and
09, 2007 12:49 PM
*To:* flexcoders@yahoogroups.com
*Subject:* [flexcoders] Drag and Drop within TileList - why does my code
copy instead of move?
Hello,
I would really appreciate another set of eyes taking a look at this code
to see what I'm doing wrong. I have several tile lists wher
: [flexcoders] Drag and Drop within TileList - why does my code
copy instead of move?
Hello,
I would really appreciate another set of eyes taking a look at this code
to see what I'm doing wrong. I have several tile lists where tiles can
be dragged and dropped around. This code is pretty
Hello,
I would really appreciate another set of eyes taking a look at this code to
see what I'm doing wrong. I have several tile lists where tiles can be
dragged and dropped around. This code is pretty much straight out of the
docs plus a few rules, It's working fine except that the tiles are cop
Hi,
I have been reading the various drag and drop examples and tutorials that
I've found online and in the docs, but am having issues with a complex drag
and drop interface that I can't seem to figure out. I'm wondering if the way
I have structured my MXML will even allow me to do what I want to
om [mailto:[EMAIL PROTECTED] On
Behalf Of thunderstumpgesatwork
Sent: Monday, December 11, 2006 12:22 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Drag and Drop onto chart... locate axes?
I'm trying to handle drag and drop events on a chart. Specifically I'm
trying to handle droppi
I'm trying to handle drag and drop events on a chart. Specifically I'm
trying to handle dropping onto a chart axis.
In dragOver, I need to know when the mouse is over one of the chart
axes. I've looked at trying to get the size of them from the axis
Renderers, but it appears the renderers are the
yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of pereanend
Sent: Thursday, November 30, 2006 10:31 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Drag and drop
I am dragging components like buttons from one canvas to the other and
it works fine, the problem is that after dropping t
I am dragging components like buttons from one canvas to the other and
it works fine, the problem is that after dropping the component on the
other canvas, the one from the source canvas is deleted. Does anyone
knows a solution to it. I think i need to implement the dragComplete
event but i don
I have been able to drag components from one canvas to the other but
the problem is that i want it to be a COPY operation and not a MOVE
operation i.e the component that i am dragging from the source is not
delete there. I have written my own DragComplete event handler, but
still it does a Move
Without any code it's impossible to figure out your problem.RegardsOn 10/6/06, khelonium <[EMAIL PROTECTED]
> wrote:
Hi, I am trying to drag and drop items from a html page to a flex
application. When I release the dragged object I send a command via
the externa
ogroups.com] On Behalf Of John
GrdenSent: Tuesday, October 17, 2006 9:57 AMTo:
[EMAIL PROTECTED]ups.comSubject: [flexcoders] Drag and Drop
tutorials/Samples of mixed types of dragging
I'm just getting into DragManager, and I can succesfully drag a
component to another and remove it from one di
mple-flex-20-drag-example/
Hua
From: flexcoders@yahoogroups.com
[mailto:[EMAIL PROTECTED] On Behalf Of John
GrdenSent: Tuesday, October 17, 2006 9:57 AMTo:
flexcoders@yahoogroups.comSubject: [flexcoders] Drag and Drop
tutorials/Samples of mixed types of dragging
I'm just getting into Dr
I'm just getting into DragManager, and I can succesfully drag a component to another and remove it from one display list to add it to another.but just simply dragging around on stage with DragManager.doDrag - I can't seem to make it work like a simple startDrag() when it just "moves" to that loc
Hi, I am trying to drag and drop items from a html page to a flex
application. When I release the dragged object I send a command via
the external interface to flex to create what I need. Everything works
fine except positioning. It seems flex doesn't always get the corect
mouse coordonates when I
2006 12:47 PMTo:
flexcoders@yahoogroups.comSubject: [flexcoders] Drag and Drop from a
List to a LineChart
Rookie here! I was wondering if some can take a shot at solution onthis?
I am trying to drag a list of states from a List to a LineChart
andthen have the LineChart display the data for
Rookie here! I was wondering if some can take a shot at solution on
this?
I am trying to drag a list of states from a List to a LineChart and
then have the LineChart display the data for each USState dragged in.
I am thinking there are two ways:
#1 Put the each USStates data into an Array from
Hi all.
I figured out how to drag and drop between grids, that was rather
simple. But, I'm having difficulty getting the drag 'n drop between a
grid and an image.
On the grid side of things, it seems rather simple; but on the image
side of things, I'm not quite sure how to implement this.
The following code does not work for me to allow the Combobox to be
dragged and dropped inside the repeater control
Is this the right approach, any help is appreciated.
Thanks,
Deepak
I'm having a problem getting the dragEnter event to fire properly on
a TitleWindow.
I have a DataGrid with a TabBar above it. I change the contents of
the DataGrid depending on which tab is selected and items can be
dragged from the grid and dropped on a tab to add the item to that
tabs li
Hi, I want to create drag and drop functionality in Flex2 Beta 3. In this User can drag data from Datagrid into the List. And I want to Store all the data of the List in an Array. So can anybody please tell me that how can i achieve this. Below is code for the reference http://www.
I'm having a strange problem with dragging items from a tilelist to a
data grid. The drag and drop work fine, but after I perform the drop,
I cannot click on any of the tiles in the first row. Also, I cannot
click on any combo boxes. I am using Flex 1.5. Any pointers would be
greatly appreci
search this list for keywords like "datagrid" and "tree"had been discussed in detail before.On 5/6/06, Franca Daniel <
[EMAIL PROTECTED]> wrote: Hey you all,i am trying build a application where i need drag
a item from DataGrid to drop in a Tree. Anyone have aidea how to do that ? Ple
Hey you all,
i am trying build a application where i need drag
a item from DataGrid to drop in a Tree. Anyone have a
idea how to do that ?
Please help me ,Thank you!
___
Abra sua conta no Yahoo! Mail: 1G
sounds feasible, have you tried (using DragManager ) ?
if you can't figure it out I would love to give it a go.
On 4/14/06, pk_wasp <[EMAIL PROTECTED]> wrote:
Is it possible to have a DataGrid with custom item renderer componentsand drag/drop them between the indvidual cells using DragManager
Is it possible to have a DataGrid with custom item renderer components
and drag/drop them between the indvidual cells using DragManager/Proxy
Framework etc?
or is there a better way?.e.g. a Grid, then using addChild/removeChild
etc to handle this?
Creating a custom "grid" component looks too d
inLeft="6" marginRight="6" >
-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Danger
Sent: Thursday, January 19, 2006 2:40 AM
To: flexcoders@yahoogroup
Good Luck~
http://www.sephiroth.it/file_detail.php?id=133
On 1/19/06, kjlinboomer <[EMAIL PROTECTED]> wrote:
> Hi all,
>
> I am developing a tree component with drag and drop dunctionality
> within
> itself (ie -- if a drag a leaf from one branch to another). Can
> somebody point me in the right
Hi all,
I am developing a tree component with drag and drop dunctionality
within
itself (ie -- if a drag a leaf from one branch to another). Can
somebody point me in the right direction of a tutorial or some online
examples.
Thanks!
--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com
Hi,
Have a one more question about drag & drop.
This code is for dragging an item from "GridItem" to canvas.
It works well while there is no scrollbar(now there are only 2 grid items
no scroll bar appears).
When I add another few grid items(ex. 30 items), then scrollbar appears,
and when I dr
t;
> backgroundColor="#DEE0FE" vScrollPolicy="auto" visible="true">
>
>
>
>
>
>
> Hope that helps..
>
> -abdul
> -Original Message-
> From: flexcoders@yahoogroups.com [mailto:[EMAIL P
yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Prasad Dhananjaya
Sent: Tuesday, September 06, 2005 12:40 PM
To: FlexML
Subject: [flexcoders] Drag and drop among components
Hi all,
I want to drag a image from "GridItem" and drop it on "Canvas"
(Just drag & drop).With re
Hi all,
I want to drag a image from "GridItem" and drop it on "Canvas"
(Just drag & drop).With referring "flex samples(Drag&drop-->Custom
class example)" I wrote below code. But it is not working.
This is my first drag&drop(among components) code and I am not
sure what's wrong.
Can someone help
Subject: [flexcoders]
Drag-and-drop: Delete Canvas after Move
Based on the example in the livedocs:
http://livedocs.macromedia.com/flex/15/flex_docs_en/0619.htm
I would like to be able to remove the colored
boxes (canvas) as they
are moved to the list box. I know how to do
this through a
Based on the example in the livedocs:
http://livedocs.macromedia.com/flex/15/flex_docs_en/0619.htm
I would like to be able to remove the colored boxes (canvas) as they
are moved to the list box. I know how to do this through a datagrid,
but I can't figure out how to locate the canvas and r
hai,
I have a cnvas with many controls inside... i want a drag event on the canvas i use a mouseMove evnet for beginDrag and i also have a mousedown event tht takes u to a next view in the viewstack... now what happens is when i start dragging the controls goes to the next view even
] Drag and
Drop between applications with in one flex app
Hello
I am attaching a screen shot as I think that will make this the easiest to
understand. The application has the standard navigation on the left and
is part of the main application. The area with the red rectangle
answer might not fit to your requirement.
I hope you understand, this is for quick solution to your
queries.
Thanks
-abdul
From: flexcoders@yahoogroups.com
[mailto:[EMAIL PROTECTED] On Behalf Of nithya
karthikSent: Friday, June 10, 2005 12:02 PMTo:
flexcodersSubject: [flexcoders]Drag and
hai,
I have a tile list from which i can drag and drop the item to a datagrid. now i also want to drag the item from the datagrid so that it gets removed from the grid. how should i do this? when i treid what happend was, i was able to remove the item but it was getting dropped to the tile l
Behalf Of digital_eyezed
Sent: Wednesday, May 25, 2005 8:45
AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Drag and
Drop from tree to List
Hi,
I'm dragging and dropping from a tree to a list.
All the functionality works fine, but I'm trying
to call another
method when t
Hi,
I'm dragging and dropping from a tree to a list.
All the functionality works fine, but I'm trying to call another
method when the item is dropped with the name of the file from the
tree as the argument to that method.
Example: Tree has two objects in a folder node called files:
File1.txt
On Thu, 24 Mar 2005 10:25:39 +0100, Alessio Prosperi <[EMAIL PROTECTED]> wrote:
> If I run drag.mxml the drag starts correctly. If I run main.mxml the drag
> doesn't start: I must use mouseMove instead of mouseDown event. Is this a
> Flex bug?
I tried your example, and the drag starts just fine
Hi to everyone,
I developed a e-commerce solution based on
drag'n'drop. I split the main application in small sub-applications so I can
load every section only if it's necessary.
I load every section in a Loader object inside a
Panel (as in Flex samples - drag'n'drop).
I have a compone
PMTo:
flexcoders@yahoogroups.comSubject: [flexcoders] Drag and drop
image?
Hello, all. I'm familiar with general flex layout and such, and
am just now getting into the scripting of it. I understand that certaindata
controls have a dragEnabled attribute, and I'm wondering how best to
re
Try using dropNode = dest.getDropParent().getTreeNodeAt(dropLoc)
.
Matt
From: dustin_speer
[mailto:[EMAIL PROTECTED]
Sent: Monday, February 28, 2005
3:55 PM
To: [EMAIL PROTECTED]
Subject: [flexcoders] Drag and
Drop with Tree
I am doing a drag and drop from a
Pilby wrote:
Does Flex's drag-and-drop support dropping of mx:Button or mx:Text
objects into a container like a mx:VBox? Or am I limited to dragging
only items from a Tree, a List, or a datagrid?
You can drag-drop anything.
var dragItems = event.dragSource.dataForFormat("items");
and dragItems is
101 - 178 of 178 matches
Mail list logo