Forum Moderators: open
I have a website set up where I have a flash header then some content. There is one main page that is php that has the header then and @include for the content which gets passed a variable from the page links.
My problem is when you click on a link to load new content the flash header reloads.
Does anyone know how I can stop it reloading each time a link is clicked.
Many thanks
Kiwidesign
However, you can pass variables into the flash move via a query string in the object/embed tag....to indicate a starting point for the movie.
Put some code in the first frame of the movie to check for the var you are sending....like whatever.swf?start=afterIntro....
If (start == 'afterIntro')
{
_root.gotoAndPlay('home');
}
else
{
_root.gotoAndPlay('intro');
}
Simple example...but you should get the idea...
Depending on how you have the navigation movie setup..this should work....
I haven't done this in a while so you will likely have to do some experimentation.
The concept definitely works though.