![]() cheap rollover code snippet | show it | return | |
on mouseEnter me set the ink of sprite (the spriteNum of me) = 0 set the loc of sprite (the spriteNum of me) = myOrigLoc + (myOffset * point(1,1) ) updateStage end on mouseLeave me set the ink of sprite (the spriteNum of me) = 36 set the loc of sprite (the spriteNum of me) = myOrigLoc updateStage end |
| The effect here was a mofication of the UI Rollover Change Pointer from Director 6. The changes here were to modify the ink of the rolled sprite and to offset the sprite according to a BH property. The property myOrigLoc is the original location of the sprite as initialized.
lingo era = v6 |