Problem with the root on a alpha graphic thing

Hi guys, i was following the tutorial on the alphgraphic fade with intertia, and i created 2 images and converted them to movie clips, and gave them instance names of grahic1 and graphic2. When I finished i tested the scene and it was fine, but when i run the whole file it does not work. I know it is probably a path problem, u see unlike the tutorial, i did this alphgraphic thing within a movie called alphagraphic, then put it into another movie called goals, which then is put onto the main timeline of the movie, would anybody know how to modify this code so that the root is correct so that when i run the whole file, the effect will show. Thanks

// Creates a new movie clip on the ‘_root’
// timeline which is named ‘script_clip’
_root.createEmptyMovieClip(“script_clip”, 0);
script_clip.onLoad = function() {
// Makes variable to store inertia.
mosx = 0;
// Makes variable to store inertia.
mosy = 0;
};
// Starts a movie clip loop that executes
// the code everytime the play head enters
// a frame and this only works in Flash MX
script_clip.onEnterFrame = function() {
// Takes ‘mosx’ and subtracts by the _xmouse mouse position to yield the difference.
difx = mosx-_root._xmouse;
// Takes ‘mosy’ and subtracts by the _ymouse mouse position to yield the difference.
dify = mosy-_root._ymouse;
// Subtracts the total of the _xmouse position and ‘mosx’ and 8 determines the speed of the effect.
mosx -= difx/8;
// Subtracts the total of the _ymouse position and ‘mosy’ and 8 determines the speed of the effect.
mosy -= dify/8;
// Used to control the _alpha setting of ‘graphic1’ with dependency of the mouse position and inertia.
_root.alphagraphic.graphic1._alpha = (mosx/4)-(mosy/4);
// Used to control the _alpha setting of ‘graphic2’ with dependency of the mouse position and inertia.
_root.alphagraphic.graphic2._alpha = 100-(mosx/4)-(mosy/4);
};