Solved

Stop flash header from reloading?

Posted on 2010-09-16
3
388 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

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

I know the transition can be hard. We got used to the ease of use ActionScript 2 had, but honestly, it became problematic later on, especially if designers were involved in the project and found it easy to add code as they saw fit. So, this artic…
This article describes a solution to a problem of subloading one movie into another when they have different SWF versions. Sometime back, I was working on an ActionScript project while I came across an interesting fact which I would like to share…
In this tutorial viewers will learn how to create a basic motion tween animation in Flash Open a new document in Flash: Draw/import an image: Press CTRL + F8 to convert it into a graphic symbol: Select a frame (how long you want the tween to last): …
In this tutorial viewers will learn how to create a basic shape tween animation in Flash including shape hints for smooth animation Open a new document in Flash: Draw a shape: Select another frame (how long you want the tween to be): Right click and…

821 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