hello,

Regarding the scriptExecutionStyle, it seems that it applies to MIAW features and I was talking about a shockwave piece running inside a browser.
Anyway I decided to test the information below provided by Tom.

I published for Shock10,
I have a np32dsw.dll 10.1 and a shockwavePlugin.class of 2/10/2003 10:00PM (dont know what this class is for?),
I set scriptExecutionStyle to 10 in prepareMovie,
added deactivate and activate handlers in movie script in which I stopped the mouse reponses in the shock app.
I used mozilla browser.

It works in the director engine if I change from the STAGE window to the CAST windows, but does not work in the shockwave engine in the browser: my shockwave piece is running in a mozilla browser. I open a mozilla mail or address book window. I still get the mouse events passed to the shockwave piece and as a result the shockwave piece keeps animating below the Mozilla window and using lots of CPU cycles which is disturbing for a user trying to read his email or checking his address book.


thank you Tom for the tip. It seems that this tip might work for MIAW and not for browser windows over shockwave.
Any idea?

laurie

-----------------------------------------------------------------------------------------------------
Tom PREVIOUS reply to my question:
-----------------------------------------------------------------------------------------------------
> So if you have an activity driven by the mouse in shockwave, it will
> continue playing (using CPU cycles) even if there is a top window
> over shockwave.

Yup, for some events we're constantly tracking that information (mouse
locations for example), it's in the case of input events that things get
different (key events are the obvious biggie).

If you're relying on Shockwave Player version 10, and your
scriptExecutionStyle property is set to 10 (the default value for movies
authored in MX'04) then your Shockwave content will get activateWindow
and deactivateWindow events and you can enable/disable using that. For
example, if I have a DCR in window "A", and then I open browser window
"B" such that it gets focus, the movie in window "A" will get a
deactivateWindow event and thus allow you to disable rollovers and the
like as you are hoping to do. Unfortunately this is not an option in
prior players IIRC.

Cheers,
Tom Higgins - Technical Product Manager

[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