Graphic Design Forum and Web Design Forum  

Go Back   Graphic Design Forum and Web Design Forum »Web Design Forum »Flash Forum

Notices

Flash Forum Flash Design and Actionscript Forum


Reply
 
LinkBack (4) Thread Tools Display Modes
  4 links from elsewhere to this Post. Click to view. #1 (permalink)  
Old 22-10-2007, 01:49 PM
freelance designer
 
Join Date: Oct 2007
Location: Syracuse, NY
Posts: 15
Default Flash menu reflecting html page

Anyone know how to get the menu effect on Fully Illustrated - The Portfolio of Michael Heald where the flash menu relates to the html (or php) page it's on?

I was looking at the source code and its a mixture of actionscript and javascript. I found this:

<script type="text/javascript">
// <![CDATA[

var so = new SWFObject("_include/swf/navbar.swf", "soNav", "769", "52", "8", "#000000");
so.addVariable("currentSectionName", "ethos");
so.write("masterhead");

//flash banner
//var banner01 = new SWFObject("_include/swf/banner.swf", "banner", "769", "490", "8", "#000000");
//banner01.write("flashBanner");

// ]]>
</script>

I'm sure its just a simple function in actionscript but I have no idea what it is haha.
Digg this Post!Add Post to del.icio.usBookmark Post in Technorati Share This Article & VoteReddit! Wong this Post!Stumble this Post!RSS Share on FacebookForum Netvibes Page
Reply With Quote

  #2 (permalink)  
Old 22-10-2007, 02:35 PM
LeadMagnet's Avatar
Mr. Tambourine Man
 
Join Date: Jun 2007
Location: Ireland
Gender: Male
Posts: 1,714
Default

I've never done it before cause i never knew you could, but it looks like the JS is passing a new variable to the swf file called "currentSectionName" and the actionscript goes to the appropriate part of the animation (or loads the appropriate movie clip) depending on what that variable is set to.

Very nice site.
__________________
Subtlety is my middle name... and first and last in case you didn't get the point.

Last edited by LeadMagnet; 22-10-2007 at 02:37 PM.
Digg this Post!Add Post to del.icio.usBookmark Post in Technorati Share This Article & VoteReddit! Wong this Post!Stumble this Post!RSS Share on FacebookForum Netvibes Page
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
My copyright right moves slightly from page to page? ewwatson CSS Forum 6 14-03-2008 01:44 AM
Cloud Menu - Free Flash XML Menu Graphic Design Links Graphic Design Links 0 11-02-2008 01:41 PM
Flash script page flip viggosmor Graphic Design and Web Design Help 2 10-10-2007 08:33 AM
HTML Changes Cwilk Graphic Design and Web Design Help 41 22-08-2007 08:54 PM
Need a webiste? save $50 now on a Flash or HTML website. trobbins22 Advertising Forum 0 27-03-2007 04:07 AM


All times are GMT. The time now is 10:20 AM.



Estetica Design Forum's Privacy Policy
Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0