Flash Games
 FAQ   Search   Memberlist   Usergroups   Register  Profile   Log in to check your private messages   Log in 


stop swf



 

Post new topic   Reply to topic  
   DEVPPL Forum Index -> Flash Forum
View previous topic :: View next topic  
Author Message
susanward



Joined: 03 Mar 2007
Posts: 2
Location: florida keys

PostPosted: Mon Jun 11, 2007 2:31 pm    Post subject: stop swf Reply with quote

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
View user's profile Send private message Visit poster's website
tombothetominator
250+ Club


Joined: 28 Mar 2007
Posts: 436
Location: Arizona, USA

PostPosted: Mon Jun 11, 2007 4:01 pm    Post subject: Re: stop swf Reply with quote

It stopped for me when i visited the site.
Back to top
View user's profile Send private message
susanward



Joined: 03 Mar 2007
Posts: 2
Location: florida keys

PostPosted: Mon Jun 11, 2007 10:12 pm    Post subject: Re: stop swf Reply with quote

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
View user's profile Send private message Visit poster's website
tombothetominator
250+ Club


Joined: 28 Mar 2007
Posts: 436
Location: Arizona, USA

PostPosted: Mon Jun 11, 2007 10:25 pm    Post subject: Re: stop swf Reply with quote

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. Smile
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    DEVPPL Forum Index -> Flash Forum All times are GMT + 1 Hour
Page 1 of 1

 
 
Welcome to DEVPPL.com
You are not logged in, which means that you can't post in the forums.
Click here to Register

If you are a current member here on DEVPPL, please login below:

User: Pass:
Log me on automatically each visit:

 


Powered by phpBB © 2001, 2005 phpBB Group - Modified by DEVPPL

Flash Games - Sitemap