I´m still not clear waht you mean, exactly.
"I computed in the range of the panning (how much it has to travel horizontally)"
You say you use Flash as a frame/frame based Animation tool, for what do you need the "computation" mentioned above?
It would be best, that you provide a screenshot of your stage.
I have the feeling that is your best shot to get usable advice ;-)