On Saturday, Mar 15, 2003, at 17:41 America/Chicago, Thomas Drapela wrote:
Hello all,
I'm having a vexing problem creating a miaw at runtime on Windows. The script I'm using runs fine in the _authoring_ environment on both Mac (Dir8, MacOS 9.2 in OSX shell) and Win (Dir8, Win2000P), and fine in a _projector_ on Mac, but not on Win. The offending line of code is:
thisWin.rect = anotherRect
where:
thisWin is a window object anotherRect is a rect
I can check and set all other window parameters except rect which generates the following error at runtime:
"Object expected
Script Error. Continue?"
That is dang weird.
How about using verbose syntax?
the rect of window thisWin = anotherRect
I don't have even the faintest idea if that would make any difference, but since the error seems voodooish, perhaps a voodoo solution is the key...?
-- WthmO
Verbose syntax nets the same error.
I've tried copying the code and pasting it into external text file, deleting the cast member, creating a new cast member elsewhere in the castLib, and pasting the code from teh text file into the new cast member. Same runtime error. :(
I've even installed Director 8 fresh on another machine (WinXP) and tired everything on it. Runs fine in authoring environment. Same error at runtime. :(
Maybe sacrificing a hamster to the Macromedia gods might help (but I seriously doubt it).
Tom
[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!]
