Sorry, my mistake, it's zeropad(imageNumber, 4)
If it's still not working, please post your project file.
Thanks very much, the load from URL is essentially working. A few things if possible.
1) What is the 4 doing? I don't understand. I have six sentences/images now, and it still only works if I keep that number at 4. If I change it to six it doesn't work.
2) The math I had come with to preserve the image aspect ratio (event 9) no longer works now that the images are being imported from a URL. It worked without issue when I using animation frames.
3) I couldn't get the transposing and using (0,currentlevel) to work. In the project file I've posted below, I changed it to height transposition, and the events to (0, currentlevel), and it doesn't work. If you transpose back, and change the three events back to just (currentlevel), you'll see that it works.
4) I'm unclear how I'm supposed to have the sprite use the URL-imported image 0000.png as the intial image, as opposed to the default sprite image. After that, starting at 0001, it works as expected.
dropbox.com/s/typ1p3jemcj7iw7/Sentence%20tutor%20v2.c3p
Many thanks again! Greatly appreciated.