To only show the animation when it loads the page

I have a problem, I need to only load my animation when I load the principal page, e in link in the way or end it link it goes to have “&1ST=1”, the other pages do not go to have this, then the animation would be stop in a frame, example 35.
a person of the work it made something in Javascript here, to show popup one time, only in the page that will have this “&1ST=1”.


sPag=document.location.href.toUpperCase();
if(sPag.indexOf('1ST')>=0)

It would have to make this in AS? but without using the SharedObject.
if the flash to read in link “&1ST=1”, it shows the animation of frame 1 to the 35, but if in link it will not have the “&1ST=1”, it is stoped in frame 35???

Sorry about my English.