Re: [Flashcoders] merging data problem

2008-05-11 Thread Paul Andrews
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.

RE: [Flashcoders] merging data problem

2008-05-11 Thread Bernard Visscher
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

[Flashcoders] merging data problem

2008-05-11 Thread Anthony Cintron
Thanks Jason and Juan, I tested it out and the splicing works really well. One thing I'm noticing is when I uncomment and add another index, I get a compile error. I messed with the splice index number, but received unsuccessful results. Any thoughts on this? var workData:Array = new Array(); //w

RE: [Flashcoders] Loosing full-screen when loosing focus

2008-05-11 Thread Zoltan Csibi
fyi extending AIR on windows http://blog.fluorinefx.com/?p=4 / http://aperture.fluorinefx.com/ But it does not provide native access on Mac. Zoli -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Bart Goormans Sent: Saturday, May 10, 2008 11:36 PM To: Fla

Re: [Flashcoders] Automatically Declare Stage Instances and inheritance.

2008-05-11 Thread Meinte van't Kruis
If you want to have the flexibility of not having to define it, you can always make the class dynamic On Sun, May 11, 2008 at 12:42 AM, Chris <[EMAIL PROTECTED]> wrote: > Ok, so I've done a bit of googling and found nothing. And the mailing > lists > search features are less than ideal (sorry). A