dcsimg
A Flash Developer Resource Site

Results 1 to 4 of 4

Thread: my button needs to advance my mc

  1. #1
    Member
    Join Date
    Jun 2000
    Posts
    82
    ...or something. I just want to have my button play a movie clip that has several stop actions, then each time the button is pressed, I want it to advance beyond the previous stop action.

    thanks

  2. #2
    I'm a hero like Robert De Niro
    Join Date
    Mar 2000
    Location
    London
    Posts
    1,171
    Hello,

    If the ratio between the stopped frames is the same you can assign the button with:
    on(press){
    with(_root.clip){
    gotoandstop(_currentframe+5);
    }
    }
    And this way it always "jumps" 5 frames forward.

    Hope it helps,

    McMurphy

  3. #3
    Moderator RazoRmedia's Avatar
    Join Date
    Oct 2000
    Location
    UK
    Posts
    3,016
    or simply have a stop action on the frames and then a button with the script.

    On mouse event (release){
    _root.movie1(play)}

  4. #4
    Member
    Join Date
    Jun 2000
    Posts
    82
    Perfect.


    Thanks.


    Always an easy answer.


    I slap myself.

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