A Flash Developer Resource Site

Results 1 to 2 of 2

Thread: Button within a MovieClip

  1. #1
    Junior Member
    Join Date
    Nov 2002
    Posts
    1

    Button within a MovieClip

    Ok, I have a problem.

    I have three scenes. The first scene contains a movie clip with two buttons in it.

    The other scenes are just there for space fillers.

    The buttons within the movieclip in the first scene point to the other scenes.

    My problem is that the buttons do not work within the movie clip, only outside the movieclip.

    What do I have to do to make them work within?

  2. #2
    Senior Member catbert303's Avatar
    Join Date
    Aug 2001
    Location
    uk
    Posts
    11,222
    Put frame labels on the first frame of each scene (make sure each frame label is different), then on your button in the movie clip you can use something like,

    on (release) {
    _root.gotoAndPlay("frameLabelName");
    }

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