Some folks have tried making the renderer a drop target in order to add
different meaning to dropping in folders. In theory it should work, but I
think I’d work from the Tree instead, and then I would expect autoscroll to
work.
On 4/20/10 3:31 PM, Richard Rodseth rrods...@gmail.com wrote:
Thanks. I was able to fix the highlighting issue by modifying some code that
used listData.rowIndex to use calculateDropIndex() instead. Autoscroll
doesn't work, but I can live with that.
On Tue, Apr 20, 2010 at 11:41 PM, Alex Harui aha...@adobe.com wrote:
Some folks have tried making the
Just a thought, as I haven't tried the method you described. What about
setting the styles of the cursor on mouse down?
var styleSheet:CSSStyleDeclaration =
StyleManager.getStyleDeclaration(DragManager);
styleSheet.setStyle(moveCursor, grabCursor);
or
styleSheet.setStyle(copyCursor,
you can do this with a trick:
when you start drag
remember the mouseX and mouseY.
code list this:
// The mouseMove event handler for the Image control
// initiates the drag-and-drop operation.
private function mouseMoveHandler(event:
MouseEvent):void
{
var
I guess it is not possible, because between the two applications you
should have access to the system drag and drop manager. By the way, you can
do it in an air application.
(by the way, hi everyone, i'm new :)
2009/7/13 avibhujade avibhuj...@yahoo.com
Hi,
I have two flex applications and
On Friday 20 Mar 2009, christophe_jacquelin wrote:
How to make Drag and Drop between 2 mx:Image ?
DragManager, like I said ~4h ago in reply to your other post.
Having read the extensive documentation and example code, what is your
specific problem ?
--
Tom Chiverton
Helping to confidentially
Christophe,
Do you know the story about the wolf, the sheep and crying out wolf without
a purpose?
If not google for it :-)
PS: Explanation: If you keep asking 20 questions a day on simple staff,
without reading any tutorials, people will get pissed of and will not reply
even when you need real
in the UI.
_
From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On
Behalf Of Jim Hayes
Sent: Friday, January 30, 2009 5:30 PM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] drag and drop ('into' the list items, while not
adding to the list itself; Ex: iTunes
Of Tracy Spratt
Sent: Friday, January 30, 2009 4:15 PM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] drag and drop ('into' the list items, while not
adding to the list itself; Ex: iTunes)
http://livedocs. http://livedocs.adobe.com/flex/3/html/dragdrop_8.html
adobe.com/flex/3/html
If you write your own drag/drop handlers and call preventDefault, you
can do anything you want, or nothing.
There are lots of examples in the docs.
Tracy Spratt
Lariat Services
Flex development bandwidth available
From: flexcoders@yahoogroups.com
So I think what you really need to be doing is to have the list item
renderer accept the drop, rather than the list itself?
I'm sure I did this with the datagrid about a year and a half ago,
unfortunately I don't have that project to hand just now or I'd have a
look and see how I did it.
All I
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] drag and drop ('into' the list items, while not
adding to the list itself; Ex: iTunes)
If you write your own drag/drop handlers and call preventDefault, you can do
anything you want, or nothing.
There are lots of examples in the docs.
Tracy Spratt
: RE: [flexcoders] drag and drop ('into' the list items, while not
adding to the list itself; Ex: iTunes)
So I think what you really need to be doing is to have the list item
renderer accept the drop, rather than the list itself?
I'm sure I did this with the datagrid about a year and a half ago
Lariat Services
Flex development bandwidth available
From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On
Behalf Of David Kramer
Sent: Friday, January 30, 2009 4:10 PM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] drag and drop
Of Jim Hayes
Sent: Friday, January 30, 2009 2:06 PM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] drag and drop ('into' the list items, while not
adding to the list itself; Ex: iTunes)
So I think what you really need to be doing is to have the list item renderer
accept the drop
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Drag And Drop Tree
It can be moved around but cannot be dropped into a folder (branch) unless the
folder is open. I was adding those handlers, so that i can drop item/items
inside a closed node... And it works for branches but not for leaf nodes
: [flexcoders] Drag And Drop Tree
Setting breakpoints in drag/drop generally doesn’t work because
you tend to release the mouse in order to dig through the debugging info and
when you resume the drag is cancelled.
Remove the custom drag event handlers and try with simple data
and see if it works. We
...@adobe.com
*To:* flexcoders@yahoogroups.com flexcoders@yahoogroups.com
*Sent:* Monday, January 19, 2009 7:47:53 AM
*Subject:* RE: [flexcoders] Drag And Drop Tree
Setting breakpoints in drag/drop generally doesn't work because you tend
to release the mouse in order to dig through
From: Alex Harui aha...@adobe. com
To: flexcod...@yahoogro ups.com flexcod...@yahoogro ups.com
Sent: Monday, January 19, 2009 7:47:53 AM
Subject: RE: [flexcoders] Drag And Drop Tree
Setting breakpoints in drag/drop generally doesn't work because
you tend to release the mouse in order
...@yahoogroups.com] On Behalf
Of claudiu ursica
Sent: Monday, January 19, 2009 12:30 AM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Drag And Drop Tree
Hi Alex,
I can move simple leafs from the root under a folder with no custom handlers,
if the folder is open. However the thing is that I
Harui aha...@adobe.com
To: flexcoders@yahoogroups.com flexcoders@yahoogroups.com
Sent: Monday, January 19, 2009 11:01:07 PM
Subject: RE: [flexcoders] Drag And Drop Tree
If I remove your handlers, I can move Sent just fine. In your
handler the following line is suspicious:
var xml : XML = new
Setting breakpoints in drag/drop generally doesn't work because you tend to
release the mouse in order to dig through the debugging info and when you
resume the drag is cancelled.
Remove the custom drag event handlers and try with simple data and see if it
works. We definitely tested
Assuming you are not working with controls that support DnD by default,
you use a mouse gesture to start the drag operation, ceate a Dragsource,
add your data to it, then use DragManager.doDrag() to start the drag.
The docs have good examples.
Tracy Spratt
Lariat Services
Flex
Hello Alex,
thanks for your answer!
it was my fault. I didn't specified the proper event handlers in the
drop target. It's working quite fine now.
Sorry for the disturbance..
Cheers
Reto
2008/12/8 Alex Harui [EMAIL PROTECTED]:
What didn't work? Post a mini-example.
From:
What didn't work? Post a mini-example.
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Reto M.
Kiefer
Sent: Monday, December 08, 2008 1:25 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Drag and Drop into a Popup Window
Dear all,
I want to drag and drop data
http://blogs.adobe.com/aharui/2007/08/popup_dialogs_as_modules.html
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Claudiu
Ursica
Sent: Monday, November 10, 2008 5:04 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Drag and drop module
Hi,
I have a module who
Hi
I am not sure I get that but in general if you drag and drop from lets' say
'A' to B' ,I have used to drag and drop both ways from one list to another
and I did is as follows
A.dragMoveEnabled=true;
A.dragEnabled=true;
A.dropEnabled=true;
B.dragMoveEnabled=true;
B.dragEnabled=true;
Because the dataProviders are presumably dissimilar, with the tree being
hierarchical and the list being linear, you will not be able to depend
on the built-in functionality, but will need to override the drag
handler functions, and update the dataProviders yourself.
Tracy
I believe you're going to need to handle the drop events yourself and not
use the dropEnabled=true setting. When you do that, by default drop is
denied and you have to tell it to allow it, like in the dragEnter event.
For example:
private function dragEnterHandler(e:DragEvent):void
{
[mailto:[EMAIL PROTECTED] On
Behalf Of Pan Troglodytes
Sent: Tuesday, September 16, 2008 11:20 AM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Drag and Drop question
I believe you're going to need to handle the drop events yourself and
not use the dropEnabled=true setting. When you
J I had this issue a few days ago and spent a few hours trying lots of
weird and wonderful ways of trying to figure out where the mouse was,
then within 5 mins of posting to flexcoders (typical really) I
remembered that I could just listen to the drag event (enter / over
should do).
DragOver.. Have no idea how I missed it!
Thanks Kenneth =)
You'll need custom code. Google or check the forum archives
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of joyfulrodger
Sent: Wednesday, July 16, 2008 12:06 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Drag and drop from
If the renderer is causing problem, you should probably show the
renderer code.
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Muhammad Ariful Islam
Sent: Thursday, July 03, 2008 1:37 AM
To: flexcoders@yahoogroups.com
Subject:
@yahoogroups.com [mailto:[EMAIL PROTECTED] *On
Behalf Of *nwebb
*Sent:* Monday, May 12, 2008 7:04 AM
*To:* flexcoders@yahoogroups.com
*Subject:* Re: [flexcoders] Drag and Drop (modify default dragProxy)
Hi Douglas,
thanks for the reply - yeah that's pretty much what I have at the moment
(I
Thanks Daniel,
trying that now
I seem to be having some problems getting anything to show up in my
DataGridDragProxy subclass but I'm sure I'll work out the issue soon enough.
Much appreciated.
On Mon, May 12, 2008 at 3:37 PM, Daniel Gold [EMAIL PROTECTED] wrote:
I think if you wanted to
perhaps you can create a Label with the text from these twocolumns and then
use this method
http://livedocs.adobe.com/flex/3/html/dragdrop_7.html#226768
DK
On Mon, May 12, 2008 at 8:40 AM, nwebb [EMAIL PROTECTED] wrote:
Hi,
I'm drag/dropping items within a DataGrid. I would like to modify
Hi Douglas,
thanks for the reply - yeah that's pretty much what I have at the moment (I
capture the data on MouseDown and create/display a Label on MouseMove), but
I thought it could be a little cleaner and so I was hoping I could access
the current dragProxy, use the existing data within it, all
I think if you wanted to modify the default drag proxy you could subclass
DataGrid and override the get dragImage function, which looks like this (in
Flex 2.01)
override protected function get dragImage():IUIComponent
{
var image:DataGridDragProxy = new DataGridDragProxy();
Override the dragDrop handler. You can do whatever you want with the
data in there.
http://livedocs.adobe.com/flex/3/html/dragdrop_5.html
Tracy
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of beczim
Sent: Monday, May 12, 2008 10:45
.
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of nwebb
Sent: Monday, May 12, 2008 7:04 AM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Drag and Drop (modify default dragProxy)
Hi Douglas,
thanks for the reply - yeah that's pretty much what I
I'm fairly certain that there's no voodoo to automatically delete nodes from
your XML, you need to do that yourself in your drop handler.
-J
On Thu, May 1, 2008 at 4:36 PM, Rafael Faria [EMAIL PROTECTED]
wrote:
If i'm dragging an element from one tree to another. How do i get the
updated
McDonald
Sent: Thursday, May 01, 2008 2:46 AM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Drag and Drop question
I'm fairly certain that there's no voodoo to automatically delete nodes
from your XML, you need to do that yourself in your drop handler.
-J
On Thu, May 1, 2008 at 4:36 PM
this. Are the XML
structures the same?
Tracy
--
*From:* flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] *On
Behalf Of *Josh McDonald
*Sent:* Thursday, May 01, 2008 2:46 AM
*To:* flexcoders@yahoogroups.com
*Subject:* Re: [flexcoders] Drag and Drop question
I'm
@yahoogroups.com
Subject: Re: [flexcoders] Drag and Drop question
How do you mark a drag/drop operation as having a certain type (ie
Move)?
-J
On Fri, May 2, 2008 at 5:32 AM, Tracy Spratt [EMAIL PROTECTED]
mailto:[EMAIL PROTECTED] wrote:
Actually I am pretty sure the list-based component's built
--
*From:* flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] *On
Behalf Of *Josh McDonald
*Sent:* Thursday, May 01, 2008 5:05 PM
*To:* flexcoders@yahoogroups.com
*Subject:* Re: [flexcoders] Drag and Drop question
How do you mark a drag/drop operation as having a certain
PROTECTED] Im
Auftrag von Rick Winscot
Gesendet: Samstag, 12. April 2008 03:05
An: flexcoders@yahoogroups.com
Betreff: RE: [flexcoders] drag and drop a button?
Take a look at this sample - BitmapData is used to create a proxy on the fly
of the object being dragged.
http://www.quilix.com/node
Take a look at this sample - BitmapData is used to create a proxy on the fly
of the object being dragged.
http://www.quilix.com/node/3
Rick Winscot
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of grimmwerks
Sent: Friday, April 11, 2008 10:23 AM
To:
Thanks Alex,
Actually,that's exactly the answer I was afraid off..
when looking at the said code, I have a feeling, -since I'm using custom
itemrenderrer in my list- it might be simpler to dispatch mouse over events
from there.
Am I wrong ?
On Fri, Mar 14, 2008 at 3:04 AM, Alex Harui [EMAIL
: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Thibaud Van Vreckem
Sent: Friday, March 14, 2008 2:18 AM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] drag and drop between list - changing default
behavior to allow dropping into list item.
Thanks Alex,
Actually,that's
Sounds like you want calculateDropIndex
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Thibaud Van Vreckem
Sent: Thursday, March 13, 2008 10:59 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] drag and drop between list -
Tree has drop into folder code. Is that what you're looking for?
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Thibaud Van Vreckem
Sent: Thursday, March 13, 2008 10:59 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] drag and
I'm pretty sure the x icon image is set as a style on the dragproxy, so
you should be able to get away with just assigning a custom style name and
setting up your trashcan icon in your css.
-J
On Fri, Feb 22, 2008 at 7:11 AM, Jim Cook [EMAIL PROTECTED] wrote:
Can someone give me a pointer on
there is an example of that in flex Documentation
- Original Message
From: Swamy Nathan [EMAIL PROTECTED]
To: [EMAIL PROTECTED]; flexcoders@yahoogroups.com
Sent: Thursday, February 21, 2008 10:34:03 PM
Subject: [flexcoders] Drag n Drop Tile List to Canvas
Hi Folks,
Can any one please
Maybe you shouldn't register the canvas. Put another child in the
canvas with alpha=0 that goes behind all the other children and register
that.
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Nick Collins
Sent: Wednesday, February 20,
Enable drop on a row might work. I might just try handling the drop and
the showDropFeedback differently. Instead of the single line, you
should be able to highlight a cell and then instead of an insert to the
collection, change some data in a cell.
From:
@yahoogroups.com on behalf of Alex Harui
Sent: Thu 14/02/2008 18:57
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] Drag and drop into a datagrid Cell (rather than the
default, row) ?
Enable drop on a row might work. I might just try handling the drop and
the showDropFeedback differently
Tree is buggy in Flex 2. If you can, get on the beta for Flex 3 and see
if you still have problems there.
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Boson Au
Sent: Thursday, December 06, 2007 10:40 AM
To: flexcoders@yahoogroups.com
:03 PM
To: 'flexcoders@yahoogroups.com'
Subject: RE: [flexcoders] Drag And Drop Question: List within list...
Tree is buggy in Flex 2. If you can, get on the beta for Flex 3 and see
if you still have problems there.
From: flexcoders@yahoogroups.com [mailto
I believe if you make a handler for the dragComplete event on your
horizontal tile list, you can listen for when the process is complete
and then pull out the image that was dragged.
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;
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
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
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
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
I just tried your code and i keep getting the same error:
ArgumentError: Error #2015: Invalid BitmapData.
at flash.display::BitmapData$iinit()
so i am really confused now :-/
thank you very much for your time and help
Daniel Freiman wrote:
var target:UIComponent = event.curentTarget as
Are you trying to instantiate a bitmap that has a width or hight greater
than 2880?
- Dan Freiman
On Nov 12, 2007 1:23 PM, Mirko Sabljić [EMAIL PROTECTED] wrote:
I just tried your code and i keep getting the same error:
ArgumentError: Error #2015: Invalid BitmapData.
at
Definitely not, width and height of the image is under 1000px so i guess
that's not the problem?
Daniel Freiman wrote:
Are you trying to instantiate a bitmap that has a width or hight greater
than 2880?
- Dan Freiman
On Nov 12, 2007 1:23 PM, Mirko Sabljić [EMAIL PROTECTED] wrote:
Which line is is breaking on? What's the stack trace look like?
- Dan Freiman
On Nov 12, 2007 3:48 PM, Mirko Sabljić [EMAIL PROTECTED] wrote:
Definitely not, width and height of the image is under 1000px so i guess
that's not the problem?
Daniel Freiman wrote:
Are you trying to
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); //
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 stick
Usually you have to call preventDefault() so the underlying component
does not execute its default behavior.
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of g07m5064
Sent: Monday, October 22, 2007 1:46 PM
To: flexcoders@yahoogroups.com
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
Maybe by making everything else a valid droptarget? Or do you want the
no-drop feedback during mousemove?
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of flashcrow2000
Sent: Monday, August 27, 2007 6:21 AM
To: flexcoders@yahoogroups.com
In a browser, nope.
As a standalone, you'll need a wrapper, like MDM Zinc.
http://www.multidmedia.com/software/zinc/
regards,
Muzak
- Original Message -
From: Toby Tremayne [EMAIL PROTECTED]
To: flexcoders@yahoogroups.com
Sent: Saturday, March 10, 2007 6:23 AM
Subject: [flexcoders] drag
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
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
Have you found the line of code that changes the functionality? If not,
do that.
Tracy
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:
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 drop won't work :)
I'll definitely post when I find the solution though!
R
On 1/9/07,
: [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 drop
I did not run the code, but two things jump out at me.
In your doDragEnter event, you have this:
else
{
DragManager.NONE;
}
DragManager.NONE is a constant, and I'm not sure what you are trying to
do.
In
.
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: [flexcoders] Drag and Drop within TileList - why does my
code copy instead
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't
doing anything (I just didn't want to allow drag and drop in that case).
As far as calling ShowFeedback for every item dragged, I don't see another
-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 and Drop within
@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't doing anything (I just didn't want
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
Hi Thunder. The 'computedGutters' property of the chart is the closest
thing you want. It tells you the size of the gutters surrounding the
data area of the chart, which is the area the axes occupy.
Ely.
From: flexcoders@yahoogroups.com
Hi Rajesh,
When you say that the object is moved or disappears when you drop it
on the application, is that because you haven't set up event handlers
to receive the dropped data?
There are at least two methods you could use to remove the drag
operation.
1. Do a test in the method that
The button is not being deleted, but being moved from your source
component's display list to the destination components display list.
The DragManager has a reference to the DragSource, not a COPY of it. In
order to do what you are implying you would need to create a NEW button at
the
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 external
John,
here are a few examples that might be
helpful.
Adding drag-and-drop supporthttp://www.adobe.com/devnet/flex/quickstart/adding_drag_and_drop/
Adding
Drag-and-Drop Drop Deny to DataGridhttp://thanksmister.com/?p=21
Simple Flex 2.0 Drag
awesome thanks for the links everyone, I'll do some homework and let you know how it pans outThanks very much!\m/On 10/17/06, Hua Wei
[EMAIL PROTECTED] wrote:
John,
here are a few examples that might be
helpful.
Adding drag-and-drop support
Yeah man it's simple wayhere you could also do.just create two datagrids than, using the property in the first one, dragEnabled=true and in the second one you could do, dropEnabled=trueThan worked.
here a short example?xml version=1.0 encoding=utf-8?mx:Application
If I'm reading it correctly, with #1 you just need a label
function on your list. That allows you to customize the string that is
shown to represent the data.
Ely.
From: flexcoders@yahoogroups.com
[mailto:[EMAIL PROTECTED] On Behalf Of jnewportSent:
Tuesday, September 26, 2006 12:47
search this list for keywords like datagrid and treehad 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 ? Please help me
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
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
Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Danger
Sent: Thursday, January 19, 2006 2:40 AM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Drag and Drop in Tree Componet
Good Luck~
http://www.sephiroth.it/file_detail.php?id=133
On 1/19/06, kjlinboomer
The drag and drop example in Flex samples explorer allows you to drag several
rows from a datagrid to another, you might find what you want in there
http://flexapps.macromedia.com/flex15/explorer/explorer.mxml?versionChecked=true
Quick tour drag and drop
From:
Hi,
I have not used DragManager much, so can't help how to do this with
DragManager. But I can show you, how can you achieve the same with your
own logic:
?xml version=1.0 encoding=utf-8?
mx:Application xmlns:mx=http://www.macromedia.com/2003/mxml;
creationComplete=initApp()
mx:Script
1 - 100 of 106 matches
Mail list logo