# To only show the animation when it loads the page

**URL:** https://forum.kirupa.com/t/to-only-show-the-animation-when-it-loads-the-page/169190
**Category:** Uncategorized
**Created:** [November 14, 2005, 11:17am UTC](https://forum.kirupa.com/t/to-only-show-the-animation-when-it-loads-the-page/169190 "2005-11-14T11:17:33Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![Only\_Dust](https://avatars.discourse-cdn.com/v4/letter/o/f1d935/32.png) [@Only\_Dust](https://forum.kirupa.com/u/Only_Dust)
#### Post date: [November 14, 2005, 11:17am UTC](https://forum.kirupa.com/t/to-only-show-the-animation-when-it-loads-the-page/169190/1 "2005-11-14T11:17:33Z")

</div>

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”.

```auto

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.
