A Flash Developer Resource Site

Results 1 to 6 of 6

Thread: [RESOLVED] Getting to the next frame

  1. #1
    Ivor1 ivor1's Avatar
    Join Date
    Aug 2006
    Location
    Dundee, Scotland
    Posts
    478

    resolved [RESOLVED] Getting to the next frame

    I want to place an on release action on this "button" movie clip which will take the viewer to frame 2- please see example fla attached.
    I am using Flash 8. I would be grateful if anyone could help me.
    Last edited by ivor1; 10-14-2008 at 04:24 PM.

  2. #2
    Senior Member
    Join Date
    Mar 2000
    Posts
    116
    gh_mc.onRelease = function () {
    gotoAndStop(2);
    }
    Webpages:

    www.winningsolutionsinc.com

  3. #3
    Flash Incompetent ChaseNYC's Avatar
    Join Date
    Jun 2002
    Location
    new york city
    Posts
    693
    for some reason the above post doesn't work but this seems to do the job!

    Code:
    gh_mc.onPress = function () {
    	NextFrame();
    	
    }
    
    function NextFrame() {
    	gotoAndStop(2);
    }
    mmm signature

  4. #4
    Ivor1 ivor1's Avatar
    Join Date
    Aug 2006
    Location
    Dundee, Scotland
    Posts
    478
    Thank you very much. Really appreciate your help.

  5. #5
    Senior Member
    Join Date
    Mar 2000
    Posts
    116
    might be the goto reference.. first post should work with something like _root.gotoAndStop or _parent.gotoAndStop.. worked without the specifying the hierarchy for me. /shrug
    Webpages:

    www.winningsolutionsinc.com

  6. #6
    Ivor1 ivor1's Avatar
    Join Date
    Aug 2006
    Location
    Dundee, Scotland
    Posts
    478
    @'s post actually works for me. Again, thanks.

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