Showing pictures from an array
what i want load pictures flickr, , display them in order. have used array hold pictures , display them 1 image displayed, think last 1 not totally sure. have used femy extension buttons.
the code program sfx646.
the code program sfx646.
a couple of things here:
1] call flickr getting url, not image - try following download image well:
dpic[dpc]=imagelist.loadimage(flickr.getrandompicture("snow"))
2] not sure graphicswindow updated regularly in button event - perhaps feature of way coded in extension - may wrong looks way, set flag in event code , handle in main loop.
3] takes time download (if don't in point 1 above) , draw resized image may not update 1 image before next being displayed - lengthen program.delay in display sub.
here put together.
sfx646-0
1] call flickr getting url, not image - try following download image well:
dpic[dpc]=imagelist.loadimage(flickr.getrandompicture("snow"))
2] not sure graphicswindow updated regularly in button event - perhaps feature of way coded in extension - may wrong looks way, set flag in event code , handle in main loop.
3] takes time download (if don't in point 1 above) , draw resized image may not update 1 image before next being displayed - lengthen program.delay in display sub.
here put together.
sfx646-0
Learning > Small Basic
Comments
Post a Comment