If you reference the varible this way:

/:ballpos

"ballpos" is a varible in the main movie. To reference a varible inside a movie clip, you would want to do this:

/mclip1:ballpos

Where the varible "ballpos" is inside mclip1. Or if you have a movie clip inside a movie clip:

/mclip1/mclip2:ballpos