Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

Stop flash header from reloading?

Posted on 2010-09-16
3
Medium Priority
?
406 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 5

Accepted Solution

by:
bupper earned 2000 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: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying 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

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,…
I have found that much of my time doing support ends up being a constant repetition of the same steps to different people.  Early on I stated using web pages with Frequently Asked Questions (FAQs) to alleviate most of the burden.  Sometimes this jus…
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…
The goal of the tutorial is to teach the user how to live broadcast using Flash Media Live Encoder and connecting it to YouTube to broadcast. Log into your Youtube account, choose live stream settings, start live stream from Flash Media Live Enc…

618 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