0 Replies - 1412 Views - Last Post: 31 August 2010 - 03:06 PM

#1 TheOne6152  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 36
  • Joined: 11-February 09

How to stop mouse over effect while fading away.

Posted 31 August 2010 - 03:06 PM

I have a part of a website that has 4 images and when you mouse over one of them a white box fades ontop of the image and text appears, and when you mouse off of it the box and text fades away. When you click one of the images, all of them fade away, then a large white box should appear from the corner of the screen and cover the whole area, but if you put your mouse over one of the images while they are fading away, the mouse over animation starts again nd the images dosent fade away.

heres my AS
seafood_img.onRollOver = function(){
	this.gotoAndPlay(48);
}
seafood_img.onRollOut = function(){
	this.gotoAndPlay(66);
}
salad_img.onRollOver = function(){
	this.gotoAndPlay(60);
}
salad_img.onRollOut = function(){
	this.gotoAndPlay(78);
}
entrees_img.onRollOver = function(){
	this.gotoAndPlay(72);
}
entrees_img.onRollOut = function(){
	this.gotoAndPlay(90);
}
pizza_img.onRollOver = function(){
	this.gotoAndPlay(84);
}
pizza_img.onRollOut = function(){
	this.gotoAndPlay(102);
}

seafood_img.onRelease = function(){
	seafood_img.gotoAndPlay(73);
	salad_img.gotoAndPlay(85);
	entrees_img.gotoAndPlay(97);
	pizza_img.gotoAndPlay(109);
	seafood_box.gotoAndPlay(2);
	salad_box.gotoAndStop(1);
	entrees_box.gotoAndStop(1);
	pizza_box.gotoAndStop(1);
	
}


Is This A Good Question/Topic? 0
  • +

Page 1 of 1