Search content:

 

Personal Menu
Username:
Password:
Save password

Become a member

Forgot Password?

 

Don't miss these
Hold on a frame till Flash finishes playing
Narration Tool
ProFusion Xtra for Authorware and Director
Wait for explode to finish
Wait for X seconds, go to marker
Importing Photoshop layers
shortcut and keycodes
SpellChecker
Trim Function
DumpSymbol
MediaMacros Xtras Mall
 

 

 

Behavior Toggle Stay On Top

Added on 10/2/2000

 

Compatibilities:
behavior D7 D8 PC

Required Xtras:
Buddy API

This item has not yet been rated

Author: MediaMacros (website)

This is a simple behavior to make the Director stage stay on top of all other windows. This is different from the standard set window state approach as it will even work correctly with full-screen projectors. Use this if you are having problems with projectors in full screen mode ignoring the baSetWindowState command.

property onOff

on getPropertyDescriptionList me
  return [#onOff : [#format : #boolean, #comment : "Hold on top?", #default : true]]
end

on exitFrame me
  if onOff = true then
    hold = "StayOnTop"
  else
    hold = "DontStayOnTop"
  end if
  theWIndow = baGetWindow( baWinHandle() , "parent" )
  if theWindow = 0 then theWindow = baWinHandle()  
  baSetWindowState(theWindow, hold)
end

on getBehaviorDescription me
  describe = "This is a simple behavior to make the Director stage stay on top of all other windows.  This is different from the standard set window state approach as it will even work correctly with full-screen projectors.  Use this if you are having problems with projectors in full screen mode ignoring the baSetWindowState command."
  return describe
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