I am trying to display an image at a certain location. Rather various images, therefore I put the image names into an array. Trying to display them gave me object expression errors. With all my different trials I am totally confused, so please forgive me when I don't post them and the relating errors. I have googled around and copied some code but also with this last try I am getting the error "no such object":
Code: Select all
put "/home/Documents/Pics/someImage.png" into varImage
put url("binfile:" & varImage) into imageNames[11]
put imageNames[11] into img "theImage"
set the location of image ""theImage" to 100,100
Code: Select all
answer imageNames[11]