Walk in swf

hey i have seen games where you can click a place in a swf and the character moves there but the also add a blokker so the character dont walk in walk can you help me with the script for the walk code and the blocker code
:genius: