Quote (Azrad @ Oct 28 2013 11:16pm)
Code
def main():
# Create empty list, request media path, starting file, ending file, and file type.
frameList=[]
setMediaPath()
startingPicture=requestInteger("Enter the number of the first picture to use.")
endingPicture=requestInteger("Enter the number of the last picture to use.")
suffix=requestString("Enter the file type suffix (png or jpg)")
for x in range(startingPicture, endingPicture+1):
frameList.append("frame" + str(x) + "." + suffix
for frame in frameList:
show(makePicture(getMediaPath(frameList[frame])))
Still getting same error in
Code
for frame in frameList:
show(makePicture(getMediaPath(frameList[frame])))
I know my populate worked with the while loop, and the while loop I have initially worked too.
The only problem I'm having is it opens each picture in a new window. If I want to run the animation for 10 seconds, there will be ~70 windows open.
/e As for the str(suffix), I don't know. It doesn't give an error there. I also tried it removing the str(), but nothing changed.
This post was edited by furbyjs on Oct 28 2013 10:21pm