Solved

Stop flash header from reloading?

Posted on 2010-09-16
3
381 Views
Last Modified: 2012-05-10
I recently used a template to customize and build a website for my brother's rugby team.  The flash header that came with the template, i was able to customize it and get all the buttons working in the action script.

My only pet peeve is that every time someone clicks on a link the page reloads the header all over again.  I've done a search and couldn't quite figure out how to stop this reload with already asked questions.  I'd really appreciate some guidance, thanks.

You can view the site at umassrugby.com
0
Comment
Question by:newmie22
  • 2
3 Comments
 
LVL 5

Accepted Solution

by:
bupper earned 500 total points
ID: 33697881
Since it is a template, you probably can't change the actionscript?

If you cannot, the only way to do it is to embed the contents of the page in an IFRAME and only have the iframe load the new content. Downside is the address bar doesn't reflect the new page.

If you CAN change the actionscript, you can use Flash cookies (or LSOs). Register a cookie when the user clicks a link in the header. When the new page loads, check for cookie. If it exists, clear it and skip the intro.

More about LSOs here:
http://www.bestflashanimationsite.com/tutorials/4/
0
 

Author Comment

by:newmie22
ID: 33697928
I would hate to use an iframe as many of the students bookmark certain pages and since you said the address bar doesn't reflect the change that would render that aspect useless for them.

I can edit the actionscript, as i was able to do so to use geturl for the button links but I'm not really too familiar with flash (we're only just starting to learn it in classes), so i may have to look up some more information on cookies and exactly how to code it into the actionscript.
0
 

Author Closing Comment

by:newmie22
ID: 33702933
Thanks for the help, I'm sure your solution would have worked but i am not that advanced.  I ended up just making the same flash header again but took out the animation and linked header2 to the other pages so only the animation plays on the index page.
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Here are some practices and techniques that can be adopted into your Flash/Flex application development process. Note: Not all "performance tips" provide an immediately-recognizable benefit.   This article does not include timing validation data,…
The last time I worked with Flash and Socket connections was in AS1. A recent project required flash connecting to a Socket, and sending receiving information - we figured it would be easy enough - we all know about the socket policy documents and c…
The goal of the tutorial is to teach the user how to how to load their YouTube profile onto Flash Media Live Encoder.
The goal of the tutorial is to teach the user what frame rate is, how to control it and what effect it has on the video.

863 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now