Help, Image pan not working

I have an image pan made in a seperate swf. I tried to load that swf in my main swf and it gets messed up. I’m thinking it has to do with the Stage.width part but I dont know what to do. Please help.