Does anyone know if it is possible and how to return a value from a MIAW.
That depends on where/how the function you need to call to return a value is implemented. Some possibilities are that it's defined at the #movie level (in a #movie script), or in a behavior script attached to a sprite (a #score script).
To call a movie script in a different window (using Director MX2004) you might use:
tValue = window("name").movie.movieHandler()
To call a behavior attached to a sprite you could use:
tValue = window("name").movie.sendAllSprites(#behaviorHandler)
or:
tValue = window("name").movie.sendSprite(intSpriteNum, #behaviorHandler)
I'm not sure, though, that this is what you were asking about...
-Sean.
[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!]
