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] On Behalf Of Sreejith Unnikrishnan
Sent: Thursday, November 02, 2006 8:13 AM
To: 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

 

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

 

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 -----

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

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>

__._,_.___

--
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
Software development tool Software development Software development services
Home design software Software development company

Your email settings: Individual Email|Traditional
Change settings via the Web (Yahoo! ID required)
Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured
Visit Your Group | Yahoo! Groups Terms of Use | Unsubscribe

__,_._,___

Reply via email to