| View previous topic :: View next topic |
| Author |
Message |
susanward
Joined: 03 Mar 2007 Posts: 2 Location: florida keys
|
Posted: Mon Jun 11, 2007 2:31 pm Post subject: stop swf |
|
|
Hi there.
I have added a swf to: www.marathonwildbirdcenter.org on the home page.
What I want to happen is after the swf plays - that's it - stop (unless the user hits the refresh).
In other words, when a person goes to another .html page and comes back to the home page, the swf will not refresh and play again.
Currently, my action script on is: frame 1- play, and frame 150- stop.
Thanks,
susie |
|
| Back to top |
|
 |
|
|
tombothetominator 250+ Club
Joined: 28 Mar 2007 Posts: 436 Location: Arizona, USA
|
Posted: Mon Jun 11, 2007 4:01 pm Post subject: Re: stop swf |
|
|
| It stopped for me when i visited the site. |
|
| Back to top |
|
 |
susanward
Joined: 03 Mar 2007 Posts: 2 Location: florida keys
|
Posted: Mon Jun 11, 2007 10:12 pm Post subject: Re: stop swf |
|
|
Hi tombothetominator!
Yes, I can get it to play then stop but if a user goes to another html page, then back to the index page where the swf is, the swf refreshes itself and plays again.
I was looking for some information to play once then stop unless the user refreshes the index page.
If you go to the website, then to another page - say Volunteers, then back to Home, you'll see what I'm talking about.
Thanks!
susie |
|
| Back to top |
|
 |
tombothetominator 250+ Club
Joined: 28 Mar 2007 Posts: 436 Location: Arizona, USA
|
Posted: Mon Jun 11, 2007 10:25 pm Post subject: Re: stop swf |
|
|
Hmmm... not sure about doing that without designing the entire site in flash (though i am by no means an expert, and have only tinkered with flash). The problem is that everytime you open the index.htm page from another page (volunteers for example) it is the same thing (as far as the browser is concerned) as refreshing the page.
Since your flash is coded to play upon opening index.htm, that means anytime you open it by any means (whether refresh or link) it will play that file.
What you could do is create a page with the header static, and then link to that from all your other pages. (e.g. index.htm takes you to volunteer.htm, but if you click 'home' from there it takes you to index1.htm which doesn't have the swf file on it).
Just a thought.  |
|
| Back to top |
|
 |
|