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]> 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:* [email protected] [mailto:[EMAIL PROTECTED] *On
Behalf Of *Sreejith Unnikrishnan
*Sent:* Thursday, November 02, 2006 8:13 AM
*To:* [email protected]
*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>



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



The code is below:

<?xml version="1.0"?>
<mx:Application xmlns:mx="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 <[EMAIL PROTECTED]>

*To:* [email protected]

*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:* [email protected] [mailto:[EMAIL PROTECTED] *On
Behalf Of *Sreejith Unnikrishnan
*Sent:* Wednesday, November 01, 2006 1:50 PM
*To:* [email protected]
*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 <[EMAIL PROTECTED]>

*To:* [email protected]

*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"; 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