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: [email protected]
<[EMAIL PROTECTED]> cc:
Sent by: Subject: RE : [flexcoders]
startDrag() not working
[email protected]
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: [email protected] de la part de Abdul Qabiz
Date: mer. 3/08/2005 17:23
À: [email protected]
Objet : RE: [flexcoders] startDrag() not working
Hi,
Put Image in Canvas container, your code should work.
<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="http://www.macromedia.com/2003/mxml" width="100%"
height="100%">
<mx:Canvas width="100%" height="100%">
<mx:Image contentPath="ph_1.jpg" id="ph_1_mc" width="100" height="100"
mouseDown="event.target.startDrag();"
mouseUp="event.target.stopDrag()"/>\
------------------------ Yahoo! Groups Sponsor --------------------~-->
<font face=arial size=-1><a
href="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</a>.</font>
--------------------------------------------------------------------~->
--
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/