Hi again. (Solved. Uninstalled LCV9 and installed LCV8)
As if I did'nt have enough trouble..... a piece of code is now going crazy. Can anyone help?
I have a series if numbers in .png format and I want to load them into a card on a sub stack.
For some weird reason the images are now simply loading straight into my main stack?????
This was working fine a week ago. Can anyone advise what the problem could be?
I recreated the stack and put the code below into a button and it still loads the images
straight into the main stack rather than the card "Nums" on the substack "ImageLoad"??????
Code: Select all
on mouseUp
answer folder "select a folder"
if the result is "Cancel" then exit mouseUp
else
if it <> "" then
set the defaultfolder to it
put the files into myListOfFiles
filter myListOfFiles with "*.png"
repeat for each line myFile in myListOfFiles
import paint from file myFile into card "Nums" of stack "ImageLoad"
end repeat
end if
end if
end mouseUp
Thanks
Bidge