homepage Welcome to WebmasterWorld Guest from
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Pubcon Gold Sponsor 2015!
Home / Forums Index / Code, Content, and Presentation / Flash and Shockwave
Forum Library, Charter, Moderator: open

Flash and Shockwave Forum

getting flash not to restart on page change

5+ Year Member

Msg#: 816 posted 4:05 am on Apr 13, 2006 (gmt 0)

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



10+ Year Member

Msg#: 816 posted 4:41 pm on Apr 21, 2006 (gmt 0)

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.


5+ Year Member

Msg#: 816 posted 9:05 pm on Apr 23, 2006 (gmt 0)

Thank you very much. I will definately use this.


Global Options:
 top home search open messages active posts  

Home / Forums Index / Code, Content, and Presentation / Flash and Shockwave
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved