I have a flash header / navbar at the top of a page. It loads everytime they go to the page, or a different page using the same navbar, it even reloads if they press the refresh button... is there a way to set it to only load once?
thanks in advance
load flash once
Moderator: General Moderators
- J_Iceman05
- Forum Commoner
- Posts: 72
- Joined: Wed Aug 03, 2005 10:52 am
- Location: Las Vegas, NV
- feyd
- Neighborhood Spidermoddy
- Posts: 31559
- Joined: Mon Mar 29, 2004 3:24 pm
- Location: Bothell, Washington, USA
I would think that Flash can handle that itself, or you could use a session marker to tell it to load in the folded out state (as I'm guessing you use animation or something as an intro). I don't know of a way to protect against refreshes, and I think that'd be VERY bad if a browser allowed changing of how refresh works by a page.
- J_Iceman05
- Forum Commoner
- Posts: 72
- Joined: Wed Aug 03, 2005 10:52 am
- Location: Las Vegas, NV
when the flash loads, it does do an animation
i can't give you our servers web address cause the test one is only accessable from within the network.
but the template we bought can be found at http://www.templatemonster.com/swish-te ... /8227.html
how would you set a session marker to tell it to load in the folded out state after they have seen it the first time?
(incase it isn't obvious enough, im not very familiar with flash)
i can't give you our servers web address cause the test one is only accessable from within the network.
but the template we bought can be found at http://www.templatemonster.com/swish-te ... /8227.html
how would you set a session marker to tell it to load in the folded out state after they have seen it the first time?
(incase it isn't obvious enough, im not very familiar with flash)
You will not be able to change the refresh acton as that is a browser issue not a Flash issue.
Since the Flash movie gets reloaded with every page refresh, you would have to track a variable that Flash reads to know it has loaded before. Flash and PHP can talk to each other, so if you store a PHP cookie, set a variable and have Flash read it. Or you can use the local Shared Object (Flash cookie....sort of). But if you're unfamiliar with Flash, you would probably be best setting and reading the cookie in PHP, setting the variable and then getting some Flash help on how to read it. These are the problems with these templates. There is no way every template can be set up to be perfect in every developer's situation. You're still going to need to have someone go into the Flash .FLA file at some point.
Since the Flash movie gets reloaded with every page refresh, you would have to track a variable that Flash reads to know it has loaded before. Flash and PHP can talk to each other, so if you store a PHP cookie, set a variable and have Flash read it. Or you can use the local Shared Object (Flash cookie....sort of). But if you're unfamiliar with Flash, you would probably be best setting and reading the cookie in PHP, setting the variable and then getting some Flash help on how to read it. These are the problems with these templates. There is no way every template can be set up to be perfect in every developer's situation. You're still going to need to have someone go into the Flash .FLA file at some point.
- J_Iceman05
- Forum Commoner
- Posts: 72
- Joined: Wed Aug 03, 2005 10:52 am
- Location: Las Vegas, NV
Thank you
ok, well thank you for your help. I think we might have someone that is more familiar with flash that might be able to help us out. But I will do the best I can. I appreciate your comments and your help very much.
- thomas777neo
- Forum Contributor
- Posts: 214
- Joined: Mon Mar 10, 2003 6:12 am
- Location: Johannesburg,South Africa