the scriptExecutionStyle does leave out some, though.

My first test to see if D10 was going to improve a project kept running into problems with the 'cheater-navigation' MIAW I had in it for authoring. no amount of scriptexecutionstyle = 9 was able to convince it to deal with my D9 MIAW syntax.

roymeo

At 12:42 PM 9/21/2004, you wrote:
Michael,

> I want to find the runmode, so what would be better to use when the
> scriptExecutionStyle = 10:
>
> X = the runmode
> Or...
> X = _system.environmentPropList.runMode
>
> Does it actually matter?

Your choice, both are equally valid. The scriptExecutionStyle property only
affects a limited number of top-level functions:

member()
sprite()
script()
window()
rgb()/color()
Etc.

I don't have the full-list handy but the point is that the
scriptExecutionStyle property was introduced to allow us to make all the
top-level functions behave the same (if an object of the given name exists
return a reference, it not then return VOID) instead of each behaving its
own way as it did in previous releases.

I sent a request to get a tech note written that covers these but I'm not
sure that's been done yet. Stay tuned as I'll follow up on that and see if
we can't get one pushed live soon (so that you'll know precisely which
functions are affected and how). But for now you can safely check the
runMode property using either method.

Cheers,
Tom Higgins
Product Manager - Director

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!]

----------- Roy Crisman Macromedia Director Programmer, Lingo Guru, Multimedia Producer Greater Rochester Macromedia User Group (GRMMUG.org) Coordinator 277 N. Goodman St. Rochester, NY 14607-1162 (585)473-3492 home (585)615-2873 cell roymeo(AT)brokenoffcarantenna.com

[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!]

Reply via email to