Search content:

 

Personal Menu
Username:
Password:
Save password

Become a member

Forgot Password?

 

Don't miss these
Digital Clock Puzzle
mySystem
Delet an Existing File
Change the LineSize of a Shape Sprite
Send E-mail using Buddy API
Ceiling and Floor
Linking 1 sprite to another by location
Preload within Markers v.BETA
Bubble Sort Algorithm (for Strings)
Format Text
MediaMacros Xtras Mall
 

 

 

Behavior Fake Drag Bar - Stage

Added on 6/1/2001

 

Compatibilities:
behavior D7 D8 D8_5 Mac PC

This item has not yet been rated

Author: MediaMacros (website)

Moves the stage using a sprite instead of the actual window bar.

--Copyright 2001 MediaMacros, Inc.

property spritenum, state, lastM

on mouseDown me
  lastM = the mouseLoc
  state = 1
end

on beginSprite me
  state = 0
end

on mouseUp me
  state = 0
end

on mouseUpOutside me
  state = 0
end

on exitFrame me
  if state = 1 then
    d =   the mouseLoc -lastM
    (the stage).rect = (the stage).rect.offset(d[1], d[2])    
  end if
end

on getBehaviorDescription me
  return "Drop this on a sprite to make it move the stage."
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