Showing posts with label drag and drop. Show all posts
Showing posts with label drag and drop. Show all posts

Saturday, May 16, 2009

பிளாஷ் பெஸ்ட் ப்ராக்டிஸ்

Hi All
Here are some tips to Over come un expected minor problems

Problem : When using StartDrag, Some time the Target Object getting moved slightly when pressing down
Solution : Always use rounded value of its X, Y position. For example you placed a volume knob in Position 10.3, 11.6. If you Wrote a code to drag the object when pressing, It will definitely give some jerk. Make it 10, 12 so that you can avoid such problem, Some time this Starting x, y value will give unexpected pixel display problem, and that will not rendered clearly


Problem : When you using start Drag the animation is not smoother

Solution : Use "updateAfterEvents()" method and increase the FrameRate Minimum of 15