Hi,
Can anybody shine some light on this. I'm using an array of objects
from an XML-file, but some of the objects are empty. I need to strip
the empty objects from the array so I can use a 'clean' structure in
my composition. I've tried to use javascript, but I can't get it to
work this way (I'm no javasctipy-hero). Does anybody have any other
ideas for me:
function (__structure outputStructure) main (__structure
inputStructure, __index count)
{
result = new Array();
for (var i = 0; i < count; i++) {
if (inputStructure[i] != null) {
Array.add (result, inputStructure[i]);
}
}
return result;
}
MB
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Quartzcomposer-dev mailing list ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/quartzcomposer-dev/archive%40mail-archive.com
This email sent to [EMAIL PROTECTED]