you can use either the visible or the loc property of the sprite to do this - I'd vote for the loc because I think it's less complicated. Since you're not so familiar with Lingo , I'll try to explain it to you as detailed as I could.
We'll assume you have sprite 1 as the sprite for the rollover and sprite 2 containing the text to show. We'll also assume you want the text to appear at point(300, 400).
at the start, make sure sprite 2 is outside of the stage area. then in your sprite 1 put this script:
---
property origPt
on beginsprite me
origPt = sprite(2).loc
end
on mouseenter me
sprite(2).loc = point(300,400)
end
on mouseleave me
sprite(2).loc = origPt
end
---
I'm sure you understand the idea here. hope that helps.
Main Topics
Browse All Topics





by: MediaMacrosPosted on 2003-01-30 at 15:17:04ID: 7849558
You can do this 2 ways.
, member("someText"))
1. Explicitly set the sprite to change...
on mouseEnter me
sprite(6).member = member("some text")
end
2. The more elegant way. ;)
Put this on the button...
on mouseEnter me
sendAllSprites(#changeText
end
and on the sprite for the text...
property spriteNum
on changeText me, whatMember
sprite(spriteNum).member = whatMember
end