On Tuesday, September 3, 2002, at 10:23 , Eric J. Hoffman wrote:
> sImage =
> returnedcontentship2.shipmentacceptresponse.shipmentresults.packageresults.
> l
> abelimage.graphicimage.value;
>
> This would grab me everything allright if it was one package, but when I
> get
> back multiple packages and their respective numbers...the cfdump shows
> everything in a bluish hue...but right after the packageresults and
> inbetween the multiple label image containers...there is a GREEN container
> with numbers 1 2 3 etc. next to each new row of label images and
> respective
> data.
The green piece is an array - the numbers indicating the indexes into that
array. So you would do:
sImages = arrayNew(1);
packres =
returnedcontentship2.shipmentacceptresponse.shipmentresults.packageresults;
for (i = 1; i le arrayLen(packres); i = i + 1)
sImages[i] = packres[i].labelimage.graphicimage.value;
(the temp variable makes it easier to read the code!)
Sean A Corfield -- http://www.corfield.org/blog/
"If you're not annoying somebody, you're not really alive."
-- Margaret Atwood
______________________________________________________________________
Get the mailserver that powers this list at http://www.coolfusion.com
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists