954,153 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

Flash Nav bar on Web page

Hi all,

I am messing around with Flash and have created a Flash NAV bar and was wondering how to implement the nav bar so it only loads once.

What I have is about 5 buttons that lead to other pages and the problem I am having at the moment is that the flash movie reloads whenever a new page opens and the web user then needs to click to activate the nav bar before they can navigate.

What I would like to see is that the nav bar loads once and then doesnt need to load on any other pages. Is my best option to use frames and have the nav bar in one frame and when the use clicks on a particular button the contect loads up on a second frame on the same page or is there a more modern way to do this.

Thanks
ikhan42

ikhan42
Newbie Poster
3 posts since Mar 2005
Reputation Points: 10
Solved Threads: 0
 

Here are a few scripts available to get rid of the IE click to activate problem.
http://www.findmotive.com/2006/10/13/ie-click-to-activate-flash-fix/
http://blog.deconcept.com/swfobject/

buddylee17
Practically a Master Poster
697 posts since Nov 2007
Reputation Points: 232
Solved Threads: 137
 

I'd suggest using SWFObject to handle the IE click to activate problem. As for reloading the page, you could load subsequent pages onto your main page using the IFRAME tag .

However, I would just toss it out there that maybe a Flash nav with the rest of the site content in HTML may not be the best way to go. Flash navs present some search engine optimization challenges and very often if you're dealing with an HTML site, having the nav in HTML ensures faster loading and no risk of a user not having the right version of Flash. Plus the usual rollover effects and the like which are done in Flash navigation can often be done in DHTML.

Believe me, I'm not dissing Flash (it's my bread and butter and I love it!), but sometimes it's not the best tool for the job.

Regardless, good luck and happy coding!

Best,

--eric

erico564
Newbie Poster
22 posts since Apr 2008
Reputation Points: 10
Solved Threads: 4
 

This article has been dead for over three months

Post: Markdown Syntax: Formatting Help
You
View similar articles that have also been tagged: