Hank, you are correct. 

 

Multiple selection was disabled in the Tree for the Flex 2 release. We
have re-enabled it in the next version of Flex which should be out soon.


 

-deepa

 

________________________________

From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of hank williams
Sent: Wednesday, December 06, 2006 1:14 PM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Multi-select not happening! - bug?

 

I did a further search and found that Belinda Nambooze from adobe said
it was disabled and would be fixed in a later release. So I am wondering
joan, are you working with the new flex framework where this is fixed? 

Hank



On 12/6/06, hank williams <[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>
> wrote:

I am running firefox 1.5 with player 9.0.16 and I also cannot get
multiple selection working in a tree. I was just trying to figure out
what was wrong and I did a search to see if there was a bug and found
this thread.

Hank

 

On 11/2/06, Joan Lafferty < [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]> >
wrote:

For that link, multiple selection in the list works for me in Firefox 2
on player 9.0.16. Are you on Mac or Linux. Can you please verify your
player number?

 

Joan

 

________________________________

From: flexcoders@yahoogroups.com <mailto:flexcoders@yahoogroups.com>
[mailto:flexcoders@yahoogroups.com <mailto:flexcoders@yahoogroups.com> ]
On Behalf Of Sreejith Unnikrishnan
Sent: Thursday, November 02, 2006 8:13 AM


To: flexcoders@yahoogroups.com <mailto:flexcoders@yahoogroups.com> 
Subject: Re: [flexcoders] Multi-select not happening! - bug?

 

Hi Joan,

 

I put a sample that can be accessed at
http://indesg.com/flexBugs/ListExample.swf
<http://indesg.com/flexBugs/ListExample.swf>  <http://indesg.com> 

 

+++++++++++++++++++++++++++++++++++++++

 

The code is below:

<?xml version="1.0"?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml
<http://www.adobe.com/2006/mxml> " width="100%"
height="100%" creationComplete="initApp();"
viewSourceURL="srcview/index.html">
 <mx:Script>
  <![CDATA[
   import mx.controls.Text;
   import mx.events.DragEvent;
   private function initApp():void 
   {
    srclist.dataProvider = ['Reading', 'Television', 'Movies'];
   }
   
   private function popSelectItems(event:Event):void
   {
    var theSelectItems:Array = new Array(srclist.selectedItems);
    si.text = theSelectItems.toString();
   }

 

   private function doDragDrop(event:DragEvent):void
   {
    trace ("Drag Dropped");
   }
  ]]>
 </mx:Script>
 
    <mx:XMLList id="treeData">
        <node label="Mail Box">
            <node label="Inbox">
                <node label="Marketing"/>
                <node label="Product Management"/>
                <node label="Personal"/>
            </node>
            <node label="Outbox">
                <node label="Professional"/>
                <node label="Personal"/>
            </node>
            <node label="Spam"/>
            <node label="Sent"/>
        </node>    
    </mx:XMLList> 
 
 <mx:HBox>
  <mx:VBox>
   <mx:Label text="Available Activities"/>
   <mx:List id="srclist" width="200" height="200" 
    allowMultipleSelection="true" dragEnabled="true" 
    change="popSelectItems(event)"/>
  </mx:VBox>
  <mx:VBox>
   <mx:Label text="Multi-select happens in IE, not in Mozilla, Opera
..." />
   <mx:TextArea id="si" width="200" height="200" />
  </mx:VBox>
 </mx:HBox>
 <mx:HBox>
  <mx:VBox backgroundColor="#ffffff">
   <mx:Label text="Drag items from top - works !" />
   <mx:List width="200" height="200" dropEnabled="true" />
  </mx:VBox>
  <mx:VBox width="200" height="200">
   <mx:Label text="Tree does not recognize dragDrop ! :-(" />
   <mx:Tree id="myTree" width="100%" height="100%" 
    dropEnabled="true" dragDrop="doDragDrop(event)" dragEnabled="true"
    labelField="@label" showRoot="false" dataProvider="{treeData}"/>   
  </mx:VBox>
 </mx:HBox>
</mx:Application>

 

+++++++++++++++++++++++++++++++++++++++

 

Thanks

Sree

 

 

        ----- Original Message ----- 

        From: Joan Lafferty <mailto:[EMAIL PROTECTED]>  

        To: flexcoders@yahoogroups.com
<mailto:flexcoders@yahoogroups.com>  

        Sent: Thursday, November 02, 2006 4:06 AM

        Subject: RE: [flexcoders] Multi-select not happening! - bug?

         

        Sreejith,

        I ran your bugfile and it seems to run fine for me in Firefox
2.0. Do you want to send the swf and mxml file to me offline? Also,
please confirm whether you are using a Mac, Windows or Linux machine.

        Thanks,

        Joan

        
________________________________


        From: flexcoders@yahoogroups.com
<mailto:flexcoders@yahoogroups.com>  [mailto:[EMAIL PROTECTED] ups.com
<http://ups.com> ] On Behalf Of Sreejith Unnikrishnan
        Sent: Wednesday, November 01, 2006 1:50 PM
        To: flexcoders@yahoogroups.com
        Subject: Re: [flexcoders] Multi-select not happening! - bug?

        Well, I just noticed that the multiSelect does not happen in
Firefox 2.0.

        It works in IE though.

        Is this a bug?

                ----- Original Message ----- 

                From: Sreejith Unnikrishnan <mailto:[EMAIL PROTECTED]>  

                To: flexcoders@yahoogroups.com
<mailto:flexcoders@yahoogroups.com>  

                Sent: Thursday, November 02, 2006 12:27 AM 

                Subject: **SL-JUNK** [flexcoders] Multi-select not
happening! 

                The multiSelect does not seem to be working. Any help?

                Thanks

                =========================================

                <?xml version="1.0"?>
                <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml
<http://www.adobe.com/2006/mxml> " width="500"
                height="200" borderStyle="solid"
creationComplete="initApp();">
                 <mx:Script>
                  <![CDATA[
                   private function initApp():void {
                   srclist.dataProvider = ['Reading', 'Television',
'Movies'];
                   destlist.dataProvider =[];
                   }
                  ]]>
                 </mx:Script>
                <mx:HBox>
                 <mx:VBox>
                  <mx:Label text="Available Activities"/>
                  <mx:List id="srclist" height="100"
allowMultipleSelection="true"
                  dragEnabled="true"/>
                 </mx:VBox>
                 <mx:VBox>
                  <mx:Label text="Activities I Like"/>
                  <mx:List id="destlist" height="100"
dropEnabled="true"/>
                 </mx:VBox>
                </mx:HBox>
                </mx:Application>





 

 

Reply via email to