Search content:

 

Personal Menu
Username:
Password:
Save password

Become a member

Forgot Password?

 

Don't miss these
PrimeBase Xtra
Toggle Pause / Play Audio
display TreeView
FreeRotate
email send with attach file
Limited Text Behavior
Add all to the search path
Print Any Frame from Projector
Windows For Shockwave
MouseWheel
MediaMacros Xtras Mall
 

 

 

Behavior Move MIAW

Added on 11/29/2000

 

Compatibilities:
behavior D7 D8 Mac PC

This item has not yet been rated

Author: Thomas (website)

Moves a MIAW with a sprite as a drag bar,

on mouseDown me
vWin = the activeWindow
mPt = the mouseLoc
origRect = vWin.rect
repeat while the mouseDown
newPt = the mouseLoc
if not inside(newPt, rect(getAt(mPt,1)-3, getAt(mPt,2)-3, getAt(mPt,1)+3, getAt(mPt,2)+3)) then
deltaPt = newPt - mPt
newRect = offset(origRect,getAt(deltaPt,1), getAt(deltaPt,2))
vWin.rect = newRect
origRect = vWin.rect
updateStage
tell the stage to updateStage
end if
end repeat
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