Michael,
Well, you're not going to be able to pass parameters if you have a timeout
object handler being called in a script instance. The idea is that there are
two "modes" of using timeouts, the first is having the target handler in a
movie script and thus you can pass the handler "data", the other is having
the target handler in an instanced script which can that hold any data you
need as properties of that instanced script.
theTimeout = timeout().new("theWipe", 33, #mWipeIncrement, toTarget)
If 'toTarget' is a reference to an instanced script then the target handler
in that instanced script is called and any data needed by the handler should
be stored as properties of that instanced script. If 'toTarget' is anything
else, then the target handler must be located in a movie script cast member
and you can use toTarget to pass data as you're looking for.
The barrier you're hitting is that you want to target an instanced script
yet also pass data, and those are mutually exclusive the way timeout objects
are today. Make sense?
Cheers,
Tom Higgins - Technical Product Manager
Macromedia Director and the Shockwave Player
http://www.markme.com/thiggins/
[To remove yourself from this list, or to change to digest mode, go to
http://www.penworks.com/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!]