Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Controlling a movie

Status
Not open for further replies.

crystalb24

Programmer
Aug 31, 2004
75
US
I have a flash menu that I want to control by declaring the variables on the individual pages that it is associated with. The menu has 7 main sections and (currently) 4 sub sections. The problem that I am running into is that each of the main sections has different sub sections (or at the very least, different URL's that the sub section is meant to link to).

Here is the text file that I'm using to control the menu

Code:
&mainSection1=PracticeMAX Home&
&mainSection2=Define Mission&
&mainSection3=Advise Clients&
&mainSection4=Service Clients&
&mainSection5=Buisness Goals&
&mainSection6=Develop New Business&
&mainSection7=Manage the Practice&
&mainSection8=Advance Knowledge & Skills&
&mainSectionURL1=file:///J|/Crystal/PracticeMAX files/Sean PMAX folder/PMAX/site/homepage2.htm&
&mainSectionURL2=file:///J|/Crystal/PracticeMAX files/Sean PMAX folder/PMAX/site/section1.htm&
&mainSectionURL3=file:///J|/Crystal/PracticeMAX files/Sean PMAX folder/PMAX/site/section2.htm&
&mainSectionURL4=file:///J|/Crystal/PracticeMAX files/Sean PMAX folder/PMAX/site/section3.htm&
&mainSectionURL5=file:///J|/Crystal/PracticeMAX files/Sean PMAX folder/PMAX/site/section4.htm&
&mainSectionURL6=file:///J|/Crystal/PracticeMAX files/Sean PMAX folder/PMAX/site/section5.htm&
&mainSectionURL7=file:///J|/Crystal/PracticeMAX files/Sean PMAX folder/PMAX/site/section6.htm&
&mainSectionURL8=file:///J|/Crystal/PracticeMAX files/Sean PMAX folder/PMAX/site/section7.htm&
&subSection1=Understand Your Goals&
&subSection2=Develop a Plan&
&subSection3=Evaluate Progress&
&subSection4=Implement Solutions&
&subSectionURL1=[URL unfurl="true"]http://www.wachovia.com&[/URL]
&subSectionURL2=[URL unfurl="true"]http://www.wachovia.com&[/URL]
&subSectionURL3=[URL unfurl="true"]http://www.wachovia.com&[/URL]
&subSectionURL4=[URL unfurl="true"]http://www.wachovia.com&[/URL]
&done=1&

..and the code from the pages containing the menu

Code:
<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="[URL unfurl="true"]http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0"[/URL] width="180" height="580" align="middle">
		<param name="allowScriptAccess" value="sameDomain" />
		<param name="movie" value="flash/pmax_main4.swf?mainSection=2" />
		<param name="quality" value="high" />
		<param name="bgcolor" value="#ffffff" />
		<embed src="flash/pmax_main4.swf?mainSection=2" quality="high" bgcolor="#ffffff" width="180" height="580" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="[URL unfurl="true"]http://www.macromedia.com/go/getflashplayer"[/URL] />
		</object>

Any ideas how to do this?

~Crystal
Click here ( for a free iPod
 
Can you be more specific on the problem you are having? What is it about the subsectcions that you are having trouble with?

Wow JT that almost looked like you knew what you were doing!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top