Is it any code or just the blend property?

Have you tried blendLevel, which has a range of  0 - 255 instead of blend which 
(I think) is limited to 0 - 100.
Perhaps the illegal blend values are messing things up?


Bertil Flink
Creative Media


----- Original Message ----- From: "Mendelsohn, Michael" <[EMAIL PROTECTED]>
To: "Lingo programming discussion list" <[email protected]>
Sent: Wednesday, September 28, 2005 2:31 PM
Subject: <lingo-l> on activate/deactivate application


Hi list...

In my movie script, I have on activeApplication and on
deactivateApplication handlers.  I have one MIAW running, and the stage
is closed (not forgotten).  These handlers work fine if I do the
following:

on activateApplication
 put "a"
end

on deactivateApplication
 put "d"
end

I get the appropriate two "a" or two "d" puts, corresponding each to the
stage and the MIAW.  However, if I add in any other lines of code like
below, the message window gets to "a" puts immediately after two "d"
puts, meaning the application automatically gives itself focus after
blur.

on activateApplication
 put "a"
 window("theTOC").blend = 255
end

on deactivateApplication
 put "d"
 window("theTOC").blend = 128
End

Any ideas how the projector gives itself back focus?

Thanks,
- Michael M.


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


[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