Thread: Mouseovers?
View Single Post
  #3  
Old 01-22-2007, 08:00 AM
Twinny Twinny is offline
My empire of dirt
Twinny's Avatar
Join Date: Mar 2006
Location: Australia
Posts: 2,422
Twinny is just really niceTwinny is just really nice
Send a message via AIM to Twinny
Something like this

PHP Code:
function onCreated()
  
setTimer(0.05);

function 
onTimeout()
{
  
this.over false;
  if (
mousex in |this.xthis.x+this.width|)
  {
    if (
mousey in |this.ythis.y+this.height|)
    {
      
this.over true;
    }
  }
   
  if (
this.over)
    
showimg(201blah);
  else
    
hideimg(201);

   
setTimer(0.05);

Reply With Quote