For example:
[photo]
Name:
Sex:
Age:
[photo]
Name:
Sex:
Age:
This is my code currently (data loaded from xml url) and I have tried to look at rect and other properties, but I have not been able to have any luck.
Code: Select all
repeat for each line tChild in tChildren
put revXMLChildNames( tInfo, "ArrayOfXmlNode/"&tChild&backslash, return, "adoptableSearch", true) into tAdoptable
put revXMLNodeContents( tInfo, "ArrayOfXmlNode/"&tChild&"/"&tAdoptable&"/Photo") into tTest
put url tTest into tPhoto
if the result is empty then
set the text of img 1 to tPhoto
else
beep
end if
//other data loaded here...
end repeat