A Flash Developer Resource Site

Results 1 to 2 of 2

Thread: Button will not go to scene

  1. #1
    Junior Member
    Join Date
    May 2002
    Posts
    9

    Button will not go to scene

    I have a movie of a school bus driving across the stage. When the bus stops, there are buttons nestled in the movie that I want to link to different scenes. The Roll Over stage of the button works, but the On Release stage doesn't take me to the scene. I wonder if the button cannot see the appropriate level in the movie??? Any idea what's wrong?

    Here's the actionscript for the button:
    on (rollOver) {
    play();
    }
    on (release) {
    gotoAndPlay("Library", 1);
    }

  2. #2
    what do you need an onrollover effect for? Shouldn't you have that in the button itself. Make sure the button has all of the keyframes it needs in the editing mode. (ie the hit frame) an onrollover will make it work but if it doesn't have a place to recognize the buttons been touched its dead. I hope maybe that helped.

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