using variables of one controller in another

sorry for posting it in a wrong forum.
reposted in Game Engine forum