Contents
Articles
Behaviors
Books
Director News
Director Web Sites
FAQ
Games
Mailing Lists
News Groups
Project Examples
Reviews
Software
Tools
Useful Web Sites
Utilities
Xtras

Don't miss these
KKT Interactive
Sin Path Movement
All in one video controller
binary search
Drag Light-Alphamania
VList Xtra
selling|sound - royalty free music
Jog Shuffle
Play/Pause/Rewind a Animated Gif Sprite
simSock Xtra
 

 

 

Behavior Screen grab to castmember

Added on 10/2/2000

 

Compatibilities:
D7 D8 PC Script

Required Xtras:
Buddy API

This item has not yet been rated

Author: MediaMacros (website)

No screen capture Xtras here. If you want to put a screen capture into a cast member then just do this... screenGrabToMember(whatMember, whatCastlib) Be careful that you do not overwrite another member in the process.

on screenGrabToMember whatMember, whatCastlib  
  baCopyText("a")
  pasteclipboardinto member(whatmember,whatcastlib)
  baSendKeys( "@{PRTSC}" )
  baWaitForWindow( baWinHandle() , "active" , 0 )  
  --repeat while member(whatMember,whatCastLib).type <> #bitmap
  pasteclipboardinto member(whatmember,whatcastlib)
  --end repeat
  baCopyText("a")
end

on getBehaviorDescription me
  describe = "No screen capture Xtras here.  If you want to put a screen capture into a cast member then just do this..." & return & "screenGrabToMember(whatMember, whatCastlib)" & return & "Be careful that you do not overwrite another member in the process."
  return describe
end

 


Contact

MMI
36 South Court Sq
Suite 300
Newnan, GA 30263
USA

Send e-mail