Solved

Stop flash header from reloading?

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

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
SWF won't scale? 4 534
need a player that can play .d and .i DVR files 9 1,626
Advertising design for my own Purpose 5 100
You Tube Videos not playing 9 144
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…
I have been doing hardcore actionscripting for some time; and needless to say I have faced a lot of problems in just understanding others' code rather than understanding what the code executes. A programmer's life can become hell when there are a lo…
The goal of the tutorial is to teach the user how to select the video input device. Make sure you have an input device that in connected and work and recognized by Adobe Flash Media Live Encoder and select it in the “video input” menu.
The goal of the tutorial is to teach the user how to select which audio input to use. Once you have an audio input plugged into the laptop or computer, you will go into the audio input settings and choose which audio input you want to use.
Suggested Courses

734 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