Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

different objects appear when mouseover??? 1

Status
Not open for further replies.

DeeJayHaze

Programmer
Apr 26, 2001
6
0
0
US
Do you know how to make and castmember appear and disappear in a different part of the stage with the mouseover comand???

P.s When I try to remove a music file from the cast director freezes up. I think it is only with Mp3 files. If anyone could help me out with this too that would be great.
 
on mouseenter
-- move the graphic onto the screen.
sprite(spriteyouwanttoshow).loc = point(x,y)
-- where x,y is the new location you want
end

on mouseleave
-- this moves the sprite way off the screen
sprite(spriteyouwanttohide).loc = point(-1000,-1000)
end if


that what you were looking for?


One thing I have found that causes problems is variable bit rate mp3, make sure you use a set bit rate or errors will occur. Might be the cause of the problem.
 
Thank-you Horrid That was just what I needed thanks!!!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top