posted 22 years ago
Hello Friends,
I have a problem with mouselisteners.
Here its.
I have 5 panels whose label content is a country names. 5 more panels on left side,with the labelcontent capitals).So i have to drag a panel from right side & place in it on the left side if the capital matches the country label placed on the leftside panel then rightside panel should be placed near the left side panel.
If the answer is wrong then it should bounce back to its original position.
This works fine.
But when the answer is wrong it should wait for few secs inidicating by setting a icon to that label(label on the left side) & then bounce back to its orignal position.
This is also done with timer so that it waits for few sec to indicate its wrong.
The problem is when the answer is wrong timer action starts & the action taking place are changing label icon & then bonuce back to the original position.
If i drag the panels on the right side fastly, & if all panels answer is wrong then it get struck in the middle what should i do.
If i give less milliseconds the wrong answer indication doesn't take place.But its get struk while dragging fastly.
If i give more milliseconds,wrong answer indication takes place but it gets struk while draggin the panels fastly.
So tell me a suggestion to get both not to struck while dragging fastly & the same it should be visible if its wrong.
Excepting u'r suggestion & solutions,
With regards,
Sonara.
[ February 11, 2002: Message edited by: Sonara Rahul ]