i = -1 should be i--; that's much faster :)
-Oorspronkelijk bericht-
Van: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Namens Bernard Visscher
Verzonden: zondag 11 mei 2008 19:42
Aan: 'Flash Coders List'
Onderwerp: RE: [Flashcoders] merging data problem
Hi Anthony,
I d
Antony, try this...
var workData:Array = new Array();
workData.push({pm:"Bob", resource:"Anthony", client:"Microsoft",
role:"Developer", job:"XXX-", totalHours:40});
workData.push({pm:"Dan", resource:"Anthony", client:"Microsoft",
role:"Developer", job:"XXX-", totalHours:50});
workData.
Hi Anthony,
I didn't test your code, but I think the problem lies in your for loops.
When you get such an error it is probably an index out of bounds.
You could try the following, didn't test it by the way.
workData.sortOn("pm");
for(var i:int = 0 ; i < workData.length - 1 ; i++)
{
if(wo
3 matches
Mail list logo