Welcome to WebmasterWorld Guest from

Forum Moderators: open

Message Too Old, No Replies

getting flash not to restart on page change



4:05 am on Apr 13, 2006 (gmt 0)

10+ Year Member

Hi all,

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


4:41 pm on Apr 21, 2006 (gmt 0)

10+ Year Member

You can't really stop the flash movie from reloading without going to some more complicated ajax setup for the site.

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')

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.


9:05 pm on Apr 23, 2006 (gmt 0)

10+ Year Member

Thank you very much. I will definately use this.



Featured Threads

Hot Threads This Week

Hot Threads This Month