Search content:

 

Personal Menu
Username:
Password:
Save password

Become a member

Forgot Password?

 

Don't miss these
Odd levels cause audio to play incorrectly
Importing Externally Linked (sound&bitmap) Files
Add a unique property to a property list
mySystem
Xtravaganza: the Essential Sourcebook for Macromedia Xtras
BehaviorChecker
Set CommonPlayer properties for Director 2004
OnStage DVD for Director
HEINEGUN
Minefield
MediaMacros Xtras Mall
 

 

 

Behavior MIAW Event Leak

Added on 4/4/2000

 

Compatibilities:
D7 PC Script

Rating:

Author: Thomas (website)

Detect if a mouseover event is leaking from a MIAW to a button on the stage. Before doing anything on a mouseover event check for the MIAWEventLeak() if it comes back TRUE cancel any action.

on MIAWEventLeak
  
  vMouse = the mouseLoc
  vMouse = point((getAt(vMouse,1) + getAt((the stage).rect, 1)), (getAt(vMouse,2) + getAt((the stage).rect, 2)))
  
  if count(the windowList) > 0 then
    repeat with vWindow in (the windowList)
      if vWindow.visible = TRUE then
        if inside(vMouse, (vWindow).rect) then
          return TRUE
        end if
      end if
    end repeat
  end if
  
  return FALSE
end

 


Upload Provided by ABCUpload ASP

Contact

MMI
22 West Court Sq
Suite 2C
Newnan, GA 30263
USA

Fax - (206) 339-5833

Send e-mail