load flash once

It doesn't matter if you do all the error checking in the world, or if you have the most beautiful graphics, if your site or application design isn't usable, it's not going to do well. Get input and advice on usability and user interface issues here.

Moderator: General Moderators

Post Reply
User avatar
J_Iceman05
Forum Commoner
Posts: 72
Joined: Wed Aug 03, 2005 10:52 am
Location: Las Vegas, NV

load flash once

Post by J_Iceman05 »

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
User avatar
feyd
Neighborhood Spidermoddy
Posts: 31559
Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA

Post by feyd »

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.
User avatar
J_Iceman05
Forum Commoner
Posts: 72
Joined: Wed Aug 03, 2005 10:52 am
Location: Las Vegas, NV

Post by J_Iceman05 »

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)
Storm
Forum Newbie
Posts: 11
Joined: Tue Aug 31, 2004 12:30 am

Post by Storm »

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.
User avatar
J_Iceman05
Forum Commoner
Posts: 72
Joined: Wed Aug 03, 2005 10:52 am
Location: Las Vegas, NV

Thank you

Post by J_Iceman05 »

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.
User avatar
thomas777neo
Forum Contributor
Posts: 214
Joined: Mon Mar 10, 2003 6:12 am
Location: Johannesburg,South Africa

Post by thomas777neo »

Well, as my suggestion, put the flash in a different frame than the pages you are loading.
Post Reply