Search content:

 

Personal Menu
Username:
Password:
Save password

Become a member

Forgot Password?

 

Don't miss these
Printing Acrobat files with Buddy API
Font Style Change
Convert Decimal to Comma (EU)
QuickTime Silent Install
Giving a shadow for a sprite
007 Fonts
Set Castmember properties for DirectMedia member
Bevel Static-Alphamania
Media Player
Windows Sounds Scheme Customization
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