My dh used to work on the road and was gone for for weeks at a time. I think my dd was around 18 months before she stopped with the shy then when he got home. Then around 2 years old it switched to refusing to talk to him when he got home because she was mad he had been gone. When she was about 2.5 he got a new job and hasn't had to be gone for more then a day here and there. At 4.5 she just tells him if she thinks he needs to spend more time at home and less at work.
Kristina mom to A 1/12 J 11/05 D 4/08 and tiny dude in late April 2010