Flash Games

 FAQ   Search   Members   Groups   User Control Panel      Login 

It is currently Thu Jan 08, 2009 11:42 pm

All times are UTC + 1 hour




Post new topic Reply to topic  [ 4 posts ] 
Author Message
 Post subject: stop swf
PostPosted: Mon Jun 11, 2007 2:31 pm 
Offline

Joined: Sat Mar 03, 2007 4:53 pm
Posts: 2
Location: florida keys
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


Top
 Profile  
 
 Post subject:
PostPosted: Mon Jun 11, 2007 4:01 pm 
Offline
250+ Club

Joined: Wed Mar 28, 2007 10:11 pm
Posts: 436
Location: Arizona, USA
It stopped for me when i visited the site.


Top
 Profile  
 
 Post subject:
PostPosted: Mon Jun 11, 2007 10:12 pm 
Offline

Joined: Sat Mar 03, 2007 4:53 pm
Posts: 2
Location: florida keys
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


Top
 Profile  
 
 Post subject:
PostPosted: Mon Jun 11, 2007 10:25 pm 
Offline
250+ Club

Joined: Wed Mar 28, 2007 10:11 pm
Posts: 436
Location: Arizona, USA
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. :)


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 4 posts ] 

All times are UTC + 1 hour


Who is online

Users browsing this forum: No registered users and 0 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group - Flash Games - TNX Invitation Code - TNX Review

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: