Professional Web Applications Themes

2 mc's and current fame Help! - Macromedia Flash Actionscript

Alright, I have two mc's, one on frame 1 and other on frame 2, with 790 frames total in both. One is a unloop version and the other is a loop version. I have made a loop button that when you press it takes you to the loop version. What I am having trouble with and need major assistance with is when the playhead is stopped at lets sab frame 200 of the unloop version and the user presses the loop button I want it to go directly in the loop version, frame 200, just like in the unloop ver. ...

  1. #1

    Default 2 mc's and current fame Help!

    Alright, I have two mc's, one on frame 1 and other on frame 2, with 790 frames total in both. One is a unloop version and the other is a loop version. I have made a loop button that when you press it takes you to the loop version.
    What I am having trouble with and need major assistance with is when the playhead is stopped at lets sab frame 200 of the unloop version and the user presses the loop button I want it to go directly in the loop version, frame 200, just like in the unloop ver. Please help me on how to create this, I am learning to use more of the advanced action scripts as I go. Thanks --sanja


    Artemis13 webforumsuser@macromedia.com Guest

  2. #2

    Default Re:2 mc's and current fame Help!

    if you name the mcs mc1 and mc2 in the property inspector and the button mybutton.
    in first frame type
    stop();
    mybutton.onPress = function() {
    mc1.stop();
    myvar = mc1._currentframe;
    trace(myvar);
    play();
    };

    and in the second frame
    stop();
    mc2.gotoAndPlay(myvar);




    Certified but not by Macromedia!
    myurl
    stwingy webforumsuser@macromedia.com Guest

  3. #3

    Default Re:2 mc's and current fame Help!

    Thank you so much for your help. It works perfectly. --sanja


    Artemis13 webforumsuser@macromedia.com Guest

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139