dcsimg
A Flash Developer Resource Site

Results 1 to 4 of 4

Thread: Stupid question about buttons within movies

  1. #1
    Junior Member
    Join Date
    Sep 2006
    Location
    Pittsburgh, PA
    Posts
    4

    Stupid question about buttons within movies

    This is probably an easy fix but I can't find it. I have buttons within a movieclip, when the user clicks on them i need them to be taken to another scene, but the gotoandplay isn't working correctly. I found in help that in order for this to work the button has to be on the main timeline, so what actionscript will get my nesteled button to work?


    Thanks!

  2. #2
    Junior Member
    Join Date
    Nov 2006
    Posts
    3
    Try this:

    gotoAndPlay("Scene name", 1)

  3. #3
    Junior Member
    Join Date
    Sep 2006
    Location
    Pittsburgh, PA
    Posts
    4

    thanks!

    Thanks for the post. Thats what I tried to do but it didnt work. the buttons are inside a movie clip which is inside another movie clip. Maybe I'll just have to put everything on the main timeline.

  4. #4
    Senior Member
    Join Date
    Oct 2004
    Posts
    2,049
    did you try

    _root.gotoAndPlay("Scene name", 1) ???

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