Re: [Flashcoders] How to compare 2 dynamic Arrays

2008-04-28 Thread EECOLOR
I think you could use a ByteArray to do it. It would be (from the top of my
head) something like this:

sBA = new ByteArray();
sBA.writeObject(sArray);

var t1BA:ByteArray = new ByteArray();
t1BA.writeObject(t1Array);

trace(sBa.toString() == t1BA.toString());


Greetz Erik


On 4/28/08, ACE Flash <[EMAIL PROTECTED]> wrote:
>
> Hi there,
>
> I have 2 dynamic Arrays, t1Array and  t2Array, both of them need
> compare with sArray(standard array).
>
> I have to call Line 26 for each t2Array[n] => onCompare(sArray,
> t2Array[0]);
>
> is there any simply way  to achieve this? so it could be looping for
> comparing all dynamic arrays?
>
>
> http://www.privatepaste.com/901OpAMhtn
>
> Thank You
> ___
> Flashcoders mailing list
> Flashcoders@chattyfig.figleaf.com
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


[Flashcoders] How to compare 2 dynamic Arrays

2008-04-27 Thread ACE Flash
Hi there,

I have 2 dynamic Arrays, t1Array and  t2Array, both of them need
compare with sArray(standard array).

I have to call Line 26 for each t2Array[n] => onCompare(sArray, t2Array[0]);

is there any simply way  to achieve this? so it could be looping for
comparing all dynamic arrays?


http://www.privatepaste.com/901OpAMhtn

Thank You
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders