Hi there, i have been having a go at this for a while now, and cannot get my frames linked properly...
Its for a website, and I have a move clip menu with two animated buttons in it (portfolio and contacts), to link to another MC menu with 4 buttons in it...
All i need is to link the portfolio button to bring up the second menu with the other buttons...
I have a feeling that I have used parts of the right coding but not all together in the right script...
I woould be ever-so-grateful if someone could do this one link for me and then I will be able to work out the rest myself...
I need scene 1 to link to scene 2 with the mc buttons being used...
Would anybody be kind enough to sort this for me...??
I can either post the file over here, or (and probably better) via email, or msn if anybody is on that...
Just taking a quick look, there are a few things...
If you're going to use buttons, you need to put the as on the button, not in the first frame of the button...
In your Portfolio button script, you have:
Code:
on (release){
_root.window.gotoAndPlay("stop");
link = "link1";
}
This tells the root level to look for a movieclip named "window" to go to and play a frame labeled "stop" and then to set a variable named link to "link1." I think what you're trying to do here is to get the root level to go to frame 2 where it loads the Portfolio menu, yes? In that case, you don't need the variable (unless you're using it somewhere else for something) and you need the code to say:
Code:
on (release){
_root.gotoAndPlay("frame2");
}
Check the upated file I attached...I had to remove the layout.jpg from the library to make it fit the size limit...
Hope that helps!!
Last edited by flashpipe1; 09-10-2007 at 01:27 PM.
Love like you've never been hurt, live like there's no tomorrow and dance like nobody's watching.
Yeah forgot to say the link1 bit was an old attempt which i forgot to delete...
Also, im sure this .fla works, but unfortunately i cannot open it, as i am at work on an old version of mx for mac... it'll work at home tho, im sure...
Glad to help, and sometimes it's frustrating to post something and get no answers, but I've gotten TONS of help here and, if I don't get a response to a post I head to Kirupa or actionscript.org and if I don't get help from any of the 3, I beat my head against the problem some more, break it down as much as I can and go back to all three groups with a sample and as much code as I can put together...lots of time people don't catch the post the first time before it gets pushed out of the first page of postings, and sometimes they just want to see that you're trying to figure it out on your own...
Love like you've never been hurt, live like there's no tomorrow and dance like nobody's watching.
I can fully understand that, I can imagine for the people that have sat down and learnt actionscript themselves It can get annoying when someone wants a quick fix...
But as I have said I have spend a while trying to sort this page out, using all sorts of different tutorials, and none of them touched quite what I was trying to do, they were all close but not quite there...
Again im very grateful for you help, ill go home and check it out in a bit