A Flash Developer Resource Site

Results 1 to 3 of 3

Thread: what's wrong with this?

  1. #1
    Member
    Join Date
    Feb 2006
    Location
    Amsterdam, The Netherlands
    Posts
    53

    what's wrong with this?

    hey there!

    i've made a little dummy fla, hope you can help me out with the problem

    like i've made a timeline with 3 keyframes (01 - 10 - 20).
    the scene they're on is called "website".

    on frame01 you have a button that goes to frame10
    on frame10 you have a movieclip that has to play -> stop -> go to frame20
    on frame20 there's only a stop.

    my problem:
    the movieclip won't go back to the main stage ("website")
    i've tried the:
    gotoAndPlay("website",20)
    but than it just goes back to frame20 in the movieclip

    hope one of you can help me out

    thanks! take care!
    Attached Files Attached Files

  2. #2
    Senior Member catbert303's Avatar
    Join Date
    Aug 2001
    Location
    uk
    Posts
    11,222
    Code:
    _parent.gotoAndPlay(20);
    Will tell the timeline that the movie clip is contained in to gotoAndPlay frame 20

  3. #3
    Member
    Join Date
    Feb 2006
    Location
    Amsterdam, The Netherlands
    Posts
    53
    thanks!

    worked like a charm

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