Rather than asking someone here to write your code for you, it would
be better for you to do some reading/investigation (Perhaps purchase a
book and/or video training), then take a stab at writing it yourself.
If you are still having problems, post the code and someone may
endeavor to help you correct it so it works the way you want.


--- In [email protected], "ucabb4u" <[EMAIL PROTECTED]> wrote:
>
> Can someone help me with the code required to do the action
described in the comment 
> block please?
> 
>       <Script>
>       import mx.collections.ArrayCollection;
> 
>       
>       [Bindable]
>       public var tempArray:ArrayCollection = new ArrayCollection();
> 
>       private function showSelection(event:Event):void{               
>       trace(slct.selectedIndex);
> 
>        /*  Use the selectedIndex create an array name e.g. "data1",
"data2", "data3", etc.
>            Replace the contents of the tempArray collection with the
contents of the array 
> collection selected - "data1", "data2", "data3", etc.     
>          
>        */  
>       }
>       </Script>
>


Reply via email to