Shifting frames bad for your health?

Made a flash file with a lot of “gotoframe” scripting. Now, I’d like to ad some more stuff, which will force me to shift frames along the timeline, hence making the frame references in the actionscripts incorrect.

Say, I’m on frame 15, there’s a button which when clicked makes you jump to frame 25. If I now shift the whole timeline in which these two frames reside 5 frames to the right, the framenumber 25 should change to 30 in the actionscript. Is there a way to get this done automatically, without having to go through all the actionscripts? Thnx!!!