dcsimg
A Flash Developer Resource Site

Results 1 to 7 of 7

Thread: -=Button Trouble=-

  1. #1
    Junior Member
    Join Date
    Jul 2001
    Posts
    3
    Im having a problem with some buttons I have in the main menu of my movie, i have renamed all my scenes as different pages to go to and want the respective buttons to go to the respective scene.

    I have made the buttons and used goto, with the scene name and frame 1 but when I test it and click on the buttons it just goes back to the start of the movie.

    this is really annoying and i need to have my thing finished by the weekend.

    Thanks to whoever is generous and replies. Hope all you people who dont feel guilty.

  2. #2
    kairos-digitalstudio.net hairos's Avatar
    Join Date
    Dec 2000
    Location
    _root.home
    Posts
    611
    You better use label, so if you want to go to scene 2, put a label at frame1, let say "start"

    so at your button, it should be :

    on (release) {
    gotoAndPlay ("Scene 2", "start");
    }

    Hairos
    http://www.kairos.f2s.com

  3. #3
    Moderator enpstudios's Avatar
    Join Date
    Jun 2001
    Location
    Tampa, Fl.
    Posts
    11,282
    This might sound weird but I had a similar problem.
    When I viewed my movie within flash it always went to the begining of that scene. Drove me crazy. I noticed that when I published it and viewed it as an .swf outside of flash it worked great. It worked for me.

  4. #4
    Junior Member
    Join Date
    Jul 2001
    Posts
    3
    Sorry guys, both suggestions didnt work

    they both just went back to the start of the movie, not just the scene.

    any other suggestions?

  5. #5
    kairos-digitalstudio.net hairos's Avatar
    Join Date
    Dec 2000
    Location
    _root.home
    Posts
    611
    Did you put "stop" at the end of frame of scene 2 ?


    Hairos
    http://www.kairos.f2s.com

  6. #6
    Moderator enpstudios's Avatar
    Join Date
    Jun 2001
    Location
    Tampa, Fl.
    Posts
    11,282
    I was going to ask the same thing

  7. #7
    Junior Member
    Join Date
    Jul 2001
    Posts
    3
    I feel so silly

    thanks guys

    i spose goto and stop would do the same thing.

    thanks again.


    Cheers

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