|
|
Phrogram Slideshow Program
File Details
| Downloads: |
307 |
File Size: |
117kB |
| Posted By: |
JonS |
Views: |
300 |
| Date Added: |
Thu, Sep 21 2006 |
|
Jamey just sent me a great followup to this example - thanks again,
Jamey! This simpler example uses a text file to define the list of
images to load and display - a much better way to do it than just
hardcoding the file names in the program!
Here's her code. Check it out: a slide show program in 11 simple, english-language instructions! Jamey is the master of maximum function with minimum, simple code!
Program Slideshow
Method Main ( )
Define Slide As Sprite
Define List As TextInputFile
Define Title As String
List = OpenTextFile ( "List.txt" )
While Not List.EndOfFile
Title = List.ReadLine ( )
Slide.Load ( Title )
Slide.Show ( )
Delay ( 3000 )
End While
List.Close ( )
End Method
End Program
So - anyone have time to put Jamey's file list enhancement into the
ImageViewer example and upload it?
|
|
|