A Flash Developer Resource Site

Results 1 to 7 of 7

Thread: Can I send someone my .fla for linking...?

  1. #1
    Junior Member
    Join Date
    Jun 2007
    Posts
    22

    Can I send someone my .fla for linking...?

    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...


    My email is [email protected]


    Thanks Nick
    Attached Files Attached Files
    Last edited by nim23; 07-23-2007 at 09:00 AM.

  2. #2
    anyone else hear that? flashpipe1's Avatar
    Join Date
    Jan 2003
    Location
    Upstate NY
    Posts
    1,929
    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.

  3. #3
    Junior Member
    Join Date
    Jun 2007
    Posts
    22
    Oh thanks...

    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...


    Thsnks again..!

  4. #4
    anyone else hear that? flashpipe1's Avatar
    Join Date
    Jan 2003
    Location
    Upstate NY
    Posts
    1,929
    cool...I saved it down as Flash MX 2004, but that's as low as I can go since I have Flash 8...

    You should be able to move the code from inside the button to on the button, switch the code, and it should work...

    Hope that helps!!
    Love like you've never been hurt, live like there's no tomorrow and dance like nobody's watching.

  5. #5
    Junior Member
    Join Date
    Jun 2007
    Posts
    22
    First bit of decent help ive had on this site

  6. #6
    anyone else hear that? flashpipe1's Avatar
    Join Date
    Jan 2003
    Location
    Upstate NY
    Posts
    1,929
    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.

  7. #7
    Junior Member
    Join Date
    Jun 2007
    Posts
    22
    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


    nick

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  




Click Here to Expand Forum to Full Width

HTML5 Development Center