Hi,

Like this code may help you to create multi-dimentional array
-----

var masterTaskList:Array = new Array();
masterTaskList[0] = ["wash dishes", "take out trash"];
masterTaskList[1] = ["wash dishes", "pay bills"];
masterTaskList[2] = ["wash dishes", "dentist", "wash dog"];
masterTaskList[3] = ["wash dishes"];
masterTaskList[4] = ["wash dishes", "clean house"];
masterTaskList[5] = ["wash dishes", "wash car", "pay rent"];
masterTaskList[6] = ["mow lawn", "fix chair"];

-----
Jaydeep Tank

On Tue, Dec 2, 2008 at 3:41 PM, Lord <[EMAIL PROTECTED]> wrote:

>
> and if i want to create an array where couples key value are not fixed
> like in your example?
>
> for example name and 'nishant' are values returned from a particular
> method?
>
> On 2 Dic, 11:04, "Nishant Kyal" <[EMAIL PROTECTED]> wrote:
> > Hey,
> >
> > myArray.put({name: 'nishant', surname:'kyal'})
> > Regards
> > Nishant Kyalwww.itasveer.com <http://kyalwww.itasveer.com/>
>  >
> > On Tue, Dec 2, 2008 at 3:24 PM, Lord <[EMAIL PROTECTED]> wrote:
> >
> > > yes a multimensional array...i would create in as3 in run time phase
> > > putting into it integer elements...
> > > thanks
> >
> > > On 2 Dic, 10:48, "Jaydeep Tank" <[EMAIL PROTECTED]> wrote:
> > > > Hi,
> >
> > > > Do you mean multi-dimenational Array or just value in squre brackets?
> >
> > > > Regards,
> > > > Jaydeep Tank
> >
> > > > On Tue, Dec 2, 2008 at 2:43 PM, Lord <[EMAIL PROTECTED]> wrote:
> >
> > > > > Thanks for the reply but for create this
> >
> > > > > var array:Array = {[34],[45],[67]}
> >
> > > > > thanks
> >
> > > > > On 2 Dic, 10:06, anubhav_RIA <[EMAIL PROTECTED]> wrote:
> > > > > > Hi Lord,
> >
> > > > > > try this :
> > > > > > var array: Array  = new Array();
> > > > > > array.push(23);
> > > > > > array.push(25);
> > > > > > array.push(56);
> >
> > > > > > thanks,
> > > > > > Anubhav
> >
> > > > > > On Dec 2, 1:52 pm, Lord <[EMAIL PROTECTED]> wrote:
> >
> > > > > > > Hi,
> >
> > > > > > > how to create an array through as3 and put data dinamically?
> >
> > > > > > > for example
> >
> > > > > > > var array:Array = {[23,34,56],[56,57,68]}
> >
> > > > > > > thanks in adavance
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Flex 
India Community" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/flex_india?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to