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 Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Mouseover effect dose not work

Status
Not open for further replies.

ashu24

Technical User
Jan 25, 2002
9
0
0
IN
Hi,

I am creating exe with continous play but the image mouseover buttons are not working properly when there is wait on top of any inbetween frame. Pl. help me out.

Warm Regards
Ashutosh
 
If you have 2 images: one is for normal state and the other to mouseOver state you have to use the following code

on mouseWithin
cursor 280
sprite 2.castNum = 23
end

on mouseLeave
cursor -1
sprite 2.castNum = 22
end

-- 2 is the number of sprite where the button is.
-- 23 is the number of castMember where there is the image over and 22 the normal image

I hope I have helped you.
 
Thank you for the answer, but When you put wait for say 5 sec. on perticular frame the mouseover effect also stops. and that is my real problem.
Again thanks for reply

Ashutosh
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top