this is a good idea. let's talk thru an analysis of a real-life useful
OOP module. that should get this thread hoppin, right. I'll start it
up. let's take the example that I mentioned before, the QT/digital
movie object? let's not write any code yet, let's just do a sketch.
here are the various methods that I can think of that we'll need:
1 - instantiation: setup initial property values
2 - monitorPlaybackStatus: is it playing, stopped, paused
3 - getCurrentPosition: what is the current position of the movie
4 - play: start playing at the current location
5 - stop: stop playback & reset to start
6 - pause: pause playback at current location
7 - rewindToStart: reset the current time to the beginning
8 - jumpToPosition: jump to an arbitrary position in the movie
9 - fastForward: play the movie at a fast rate
10 - rewind: play the movie backwards at a fast rate
11 - playDone: handler to execute when the movie is finished
12 - killObject: cleanup the object when you are done with it
OK, that is a start. can anyone think of anything else?
Al Hospers
CamberSoft, Inc.
al<at>cambersoft<dot>com
http://www.cambersoft.com
Shockwave and Director development, Lingo programming, CGI scripting.
A famous linguist once said:
"There is no language wherein a double
positive can form a negative."
YEAH, RIGHT
[To remove yourself from this list, or to change to digest mode, go to
http://www.penworks.com/LUJ/lingo-l.cgi To post messages to the list,
email [EMAIL PROTECTED] (Problems, email [EMAIL PROTECTED])
Lingo-L is for learning and helping with programming Lingo. Thanks!]