A Flash Developer Resource Site

Results 1 to 2 of 2

Thread: mouse event in movie clip (i think)

  1. #1
    Junior Member
    Join Date
    Jun 2000
    Posts
    27
    I have a menu I constructed in a movie clip because it has mouse events. It is draggable and can be maximized or minimized to get it out of the way. I made some buttons for a navigation menu and slapped them on the menu inside the movie clip. When I drag the menu movie clip to the stage, I can't get the buttons to go to the appropriate scenes.

    I know that it can't be that hard, but I am still kind of new to this. Any thoughts?

  2. #2
    Senior Member
    Join Date
    Jun 2000
    Posts
    911
    What you need to do is put a label on the first frame of your scenes like scene1 and scene2 or whatever. Then in the button actions use a tell target to go to the label and play or stop or whatever. But you need to target the main stage so you use:

    Begin Tell Target ("/")
    Go to and stop ("scene1"
    End Tell Target

    The reason that works is because when your movie is published it puts ALL your scenes into one big timeline so you can use a go to label action for scenes.

    Hope that helps.



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