RE : RE  : [flexcoders] startDrag() not working

2005-08-03 Thread Philippe Maegerman
I am no trying to drag items from a component to another in fact. 
I have a canvas with several 'layers' and I need to be able to reposition one 
of them.
The nice thing with startDrag() and stopDrag() is that it's short syntax, and 
you have the ability to specify a constraint rectangle in the parameters.
Thank you for the suggestion,
 
Philippe



De: flexcoders@yahoogroups.com de la part de [EMAIL PROTECTED]
Date: mer. 3/08/2005 19:53
À: flexcoders@yahoogroups.com
Objet : RE  : [flexcoders] startDrag() not working




Hi Philippe,

  You can probably try using a HorizontalList with a cellrenderer. You can
then use implement Action Scripts functions for the drag and drop events.
The Flex store that comes with the examples shows how to do that.





   

   
 "Philippe Maegerman"  To: flexcoders@yahoogroups.com   
   
 <[EMAIL PROTECTED]> cc:
 
 Sent by:          Subject:  RE : [flexcoders] 
startDrag() not working 
 flexcoders@yahoogroups.com 
   
 08/03/2005 01:17 PM
   
 Please respond to  
   
 flexcoders 
   

   

   




Sun Life Financial: An attachment named WINMAIL.DAT was removed.


It doesn' t work in a Canvas either, that is what I was trying to do in
first place, been looking in the archives too.
I won't ask why, I supposed that as playing in the flash player sandbox,
apply a startDrag() on a MovieClip wouldn't be voodoo ;) but I was wrong.
I will go the Manish way, clean and simple, thanks a lot.

Cheers,

Philippe


De: flexcoders@yahoogroups.com de la part de Abdul Qabiz
Date: mer. 3/08/2005 17:23
À: flexcoders@yahoogroups.com
Objet : RE: [flexcoders] startDrag() not working


Hi,

Put Image in Canvas container, your code should work.


http://www.macromedia.com/2003/mxml"; width="100%"
height="100%">

\ 

--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 





YAHOO! GROUPS LINKS 



*Visit your group "flexcoders 
<http://groups.yahoo.com/group/flexcoders> " on the web.
  
*To unsubscribe from this group, send an email to:
 [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]> 
  
*Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service 
<http://docs.yahoo.com/info/terms/> . 






--
**STATEMENT OF CONFIDENTIALITY** 

This e-mail and any attached files are confidential and intended solely for the 
use of the individual to whom it is addressed. If you have received this email 
in error please send it back to the person that sent it to you. Any views or 
opinions presented are solely those of author and do not necessarily represent 
those the Emakina Company. Unauthorized publication, use, dissemination, 
forwarding, printing or copying of this email and its associated attachments is 
strictly prohibited.

We also inform you that we have checked that this message does not contain any 
virus but we decline any responsability in case of any damage caused by an a 
non detected virus.
--



 Yahoo! Groups Sponsor ~--> 
http://us.ard.yahoo.com/SIG=12ht3v732/M=362329.6886308.7839368.1510227/D=groups/S=1705007207:TM/Y=YAHOO/EXP=1123099862/A=2894321/R=0/SIG=11dvsfulr/*http://youthnoise.com/page.php?page_id=1992
">Fair play? Video games influencing politics. Click and talk back!.
~-> 

--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

<*> To visi

RE  : [flexcoders] startDrag() not working

2005-08-03 Thread Oscar . Cortes


Hi Philippe,

  You can probably try using a HorizontalList with a cellrenderer. You can
then use implement Action Scripts functions for the drag and drop events.
The Flex store that comes with the examples shows how to do that.





   

   
 "Philippe Maegerman"  To: flexcoders@yahoogroups.com   
   
 <[EMAIL PROTECTED]> cc:
 
 Sent by:  Subject:  RE : [flexcoders] 
startDrag() not working 
 flexcoders@yahoogroups.com 
   
 08/03/2005 01:17 PM
   
 Please respond to  
   
 flexcoders 
   

   

   




Sun Life Financial: An attachment named WINMAIL.DAT was removed.


It doesn' t work in a Canvas either, that is what I was trying to do in
first place, been looking in the archives too.
I won't ask why, I supposed that as playing in the flash player sandbox,
apply a startDrag() on a MovieClip wouldn't be voodoo ;) but I was wrong.
I will go the Manish way, clean and simple, thanks a lot.

Cheers,

Philippe


De: flexcoders@yahoogroups.com de la part de Abdul Qabiz
Date: mer. 3/08/2005 17:23
À: flexcoders@yahoogroups.com
Objet : RE: [flexcoders] startDrag() not working


Hi,

Put Image in Canvas container, your code should work.


http://www.macromedia.com/2003/mxml"; width="100%"
height="100%">

\

 Yahoo! Groups Sponsor ~--> 
http://us.ard.yahoo.com/SIG=12hh3ed0m/M=362131.6882499.7825260.1510227/D=groups/S=1705007207:TM/Y=YAHOO/EXP=1123099048/A=2889191/R=0/SIG=10r90krvo/*http://www.thebeehive.org
">Get Bzzzy! (real tools to help you find a job) Welcome to the Sweet Life 
- brought to you by One Economy.
~-> 

--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/

<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 




RE : [flexcoders] startDrag() not working

2005-08-03 Thread Philippe Maegerman
It doesn' t work in a Canvas either, that is what I was trying to do in first 
place, been looking in the archives too.
I won't ask why, I supposed that as playing in the flash player sandbox, apply 
a startDrag() on a MovieClip wouldn't be voodoo ;) but I was wrong.
I will go the Manish way, clean and simple, thanks a lot.
 
Cheers,
 
Philippe


De: flexcoders@yahoogroups.com de la part de Abdul Qabiz
Date: mer. 3/08/2005 17:23
À: flexcoders@yahoogroups.com
Objet : RE: [flexcoders] startDrag() not working


Hi,
 
Put Image in Canvas container, your code should work.
 

http://www.macromedia.com/2003/mxml"; width="100%" 
height="100%">

\


 
Search the archives also, in case you have further queries. I had posted a drag 
and drop example using startDrag(..) and stopDrag(..). I believe, there are 
better ways of doing drag-drop in flex.
 
-abdul



From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of 
Philippe Maegerman
Sent: Wednesday, August 03, 2005 8:08 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] startDrag() not working


Hi,
trying to implement drag functions to move images in a configurator but my code 
doesn't seem to do anything.
 
Here's an example code:
 

http://www.macromedia.com/2003/mxml"; width="100%" 
height="100%">


 
If I use event.target.startDrag(true), it will move its origin to the mouse, 
first that's not what I'm looking for, second it doesn't even drag after moving 
:(((
This was something piece of cake in flash, what am I doing wrong?
 
Philippe Maegerman
 

--
**STATEMENT OF CONFIDENTIALITY** 

This e-mail and any attached files are confidential and intended solely for the 
use of the individual to whom it is addressed. If you have received this email 
in error please send it back to the person that sent it to you. Any views or 
opinions presented are solely those of author and do not necessarily represent 
those the Emakina Company. Unauthorized publication, use, dissemination, 
forwarding, printing or copying of this email and its associated attachments is 
strictly prohibited.

We also inform you that we have checked that this message does not contain any 
virus but we decline any responsability in case of any damage caused by an a 
non detected virus.
--



--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 




SPONSORED LINKS 
Computer software testing 
<http://groups.yahoo.com/gads?t=ms&k=Computer+software+testing&w1=Computer+software+testing&w2=Macromedia+flex&w3=Development&w4=Software+developer&c=4&s=93&.sig=kh2CguJwmatU5oBXjFo9Rg>
 Macromedia flex 
<http://groups.yahoo.com/gads?t=ms&k=Macromedia+flex&w1=Computer+software+testing&w2=Macromedia+flex&w3=Development&w4=Software+developer&c=4&s=93&.sig=dAUcEV7do91-wrRtVS641g>
 Development 
<http://groups.yahoo.com/gads?t=ms&k=Development&w1=Computer+software+testing&w2=Macromedia+flex&w3=Development&w4=Software+developer&c=4&s=93&.sig=AlxNUQBOI7Io7S7nhmxV0Q>
 
Software developer 
<http://groups.yahoo.com/gads?t=ms&k=Software+developer&w1=Computer+software+testing&w2=Macromedia+flex&w3=Development&w4=Software+developer&c=4&s=93&.sig=QWIit8JayomoIHLVkV3FDg>
   



YAHOO! GROUPS LINKS 



*Visit your group "flexcoders 
<http://groups.yahoo.com/group/flexcoders> " on the web.
  
*To unsubscribe from this group, send an email to:
 [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]> 
  
*Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service 
<http://docs.yahoo.com/info/terms/> . 







 Yahoo! Groups Sponsor ~--> 
http://us.ard.yahoo.com/SIG=12hi8gkjl/M=362329.6886308.7839368.1510227/D=groups/S=1705007207:TM/Y=YAHOO/EXP=1123096669/A=2894321/R=0/SIG=11dvsfulr/*http://youthnoise.com/page.php?page_id=1992
">Fair play? Video games influencing politics. Click and talk back!.
~-> 

--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/

<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 
<>

Re: [flexcoders] startDrag() not working

2005-08-03 Thread Manish Jethani
On 8/3/05, Philippe Maegerman <[EMAIL PROTECTED]> wrote:

> 
>  xmlns:mx="http://www.macromedia.com/2003/mxml"; width="100%"
> height="100%">
>  mouseDown="event.target.startDrag();" mouseUp="event.target.stopDrag()"/>
>  
>   
>  
> If I use event.target.startDrag(true), it will move its origin to the mouse,
> first that's not what I'm looking for, second it doesn't even drag after
> moving :((( 

According to Peter Ent, you need to do the mouse handling yourself:

http://weblogs.macromedia.com/pent/archives/2005/07/more_flex_and_f.cfm

I had implemented draggable images in this app.  Check it out:

http://manish.revise.org/flash/flex/delicious.zip
http://www.flexauthority.com/Samples/delicious/WhatsCooking.mxml

Manish


 Yahoo! Groups Sponsor ~--> 
http://us.ard.yahoo.com/SIG=12he1r8e7/M=362335.6886445.7839731.1510227/D=groups/S=1705007207:TM/Y=YAHOO/EXP=1123089978/A=2894361/R=0/SIG=13jmebhbo/*http://www.networkforgood.org/topics/education/digitaldivide/?source=YAHOO&cmpgn=GRP&RTP=http://groups.yahoo.com/";>In
 low income neighborhoods, 84% do not own computers. At Network for Good, help 
bridge the Digital Divide!.
~-> 

--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/

<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 





RE: [flexcoders] startDrag() not working

2005-08-03 Thread Abdul Qabiz





Hi,
 
Put Image in Canvas container, your code should 
work.
 
http://www.macromedia.com/2003/mxml" 
width="100%" height="100%">
    \

 
Search the archives also, in case you have further queries. 
I had posted a drag and drop example using startDrag(..) and stopDrag(..). I 
believe, there are better ways of doing drag-drop in flex.
 
-abdul


From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of Philippe 
MaegermanSent: Wednesday, August 03, 2005 8:08 PMTo: 
flexcoders@yahoogroups.comSubject: [flexcoders] startDrag() not 
working

Hi,
trying to 
implement drag functions to move images in a configurator but my 
code doesn't seem to do anything.
 
Here's an 
example code:
 
http://www.macromedia.com/2003/mxml" 
width="100%" height="100%">
 

If I use 
event.target.startDrag(true), it will move its origin to the mouse, first that's 
not what I'm looking for, second it doesn't even drag after moving 
:(((
This was something piece of cake in flash, 
what am I doing wrong?
 
Philippe 
Maegerman
 
--**STATEMENT 
OF CONFIDENTIALITY** 
This e-mail and any attached files are confidential 
and intended solely for the use of the individual to whom it is addressed. If 
you have received this email in error please send it back to the person that 
sent it to you. Any views or opinions presented are solely those of author and 
do not necessarily represent those the Emakina Company. Unauthorized 
publication, use, dissemination, forwarding, printing or copying of this email 
and its associated attachments is strictly prohibited.
We also inform you that we have checked that this 
message does not contain any virus but we decline any responsability in case of 
any damage caused by an a non detected 
virus.--





--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com








  
  
SPONSORED LINKS
  
  
  

Computer software testing
  
  
Macromedia flex
  
  
Development
  
  


Software developer
  

   
  







  
  
  YAHOO! GROUPS LINKS



   Visit your group "flexcoders" on the web. 
   To unsubscribe from this group, send an email to: [EMAIL PROTECTED] 
   Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.