-
CS4 Sub-page linking
Hi, im a flash newbie and im trying to make a website.
I have imported my created design from photoshop and have generally been using the lynda.com web design in flash tutorial to help me.
It does not cover what i am stuck on and which i think is a simple task but i cant find any information on it.
I have my main navigation bar with a few links on which ive gotten to switch pages correctly. I have links inside one of those pages that i want to do the same too but it is not working.
I have posted two links here one to the fla the other to the current swf. It is the services page which i am concerned about.
Please help i need to finish this site in the next 24 hours as i have a web designer internship interview tommorow.
FLA
http://www.mediafire.com/download.php?mnmttdmidmy
SWF
http://www.mediafire.com/download.php?2iftw1zmtuj
Thanks
-
Hey, problem solved..for anyone with a similar problem, you need to put all service subpages into a new folder. Then create its own action/label layer for that folder. Make clear rectangle buttons around the text fields. give each rectangle a instance name and write the actionscript in the first frame of the site.
stop();
about.addEventListener(MouseEvent.CLICK,clickSecti on);
home.addEventListener(MouseEvent.CLICK,clickSectio n);
services.addEventListener(MouseEvent.CLICK,clickSe ction);
portfolio.addEventListener(MouseEvent.CLICK,clickS ection);
contact.addEventListener(MouseEvent.CLICK,clickSec tion);
links.addEventListener(MouseEvent.CLICK,clickSecti on);
bro.addEventListener(MouseEvent.CLICK,clickSection );
fam.addEventListener(MouseEvent.CLICK,clickSection );
fly.addEventListener(MouseEvent.CLICK,clickSection );
hard.addEventListener(MouseEvent.CLICK,clickSectio n);
newpc.addEventListener(MouseEvent.CLICK,clickSecti on);
per.addEventListener(MouseEvent.CLICK,clickSection );
soft.addEventListener(MouseEvent.CLICK,clickSectio n);
tra.addEventListener(MouseEvent.CLICK,clickSection );
vir.addEventListener(MouseEvent.CLICK,clickSection );
web.addEventListener(MouseEvent.CLICK,clickSection );
function clickSection(evtObj:MouseEvent){
gotoAndStop(evtObj.target.name);
}
For further information or the source file let me know.