dcsimg
A Flash Developer Resource Site

Results 1 to 4 of 4

Thread: Playing a MC backwards

  1. #1
    Junior Member
    Join Date
    Mar 2000
    Posts
    2

    Post

    Hello!
    I have a very simple movie clip with 20 frames. I have two buttons that are to be used to scroll the movie. I can scroll to the right with no problems. However, I cannot figure out how to scroll the MC backwards. I need to start at the current frame as this MC is a menu.
    The action on the back button is this:

    On (Press)
    Begin Tell Target ("/Category Shift")
    Go to Previous Frame
    End Tell Target
    End On
    On (Release)
    Begin Tell Target ("/Category Shift")
    Go to and Stop (_currentframe)
    End Tell Target
    End On

    I would like the above action to be continuous, but the only way I can get it to work was to make the user keep clicking the mouse.
    I tried to loop using variables but could not get it to work.

    Thanks for any help.

    Daveman


  2. #2
    Senior Member
    Join Date
    Feb 2000
    Posts
    195

    Lightbulb

    Easy!

    Just create a small looping movie clip with this action:

    Begin Tell Target ("/Category Shift")
    Go to Previous Frame
    End Tell Target


    Then place that movie clip in the DOWN state of your back button! No On Mouse Events required! As long as the user holds down the mouse, the movie clip will loop, and it will continue to scroll back!

    This is actually the very same trick I used on my site.. I also happen to have a demo FLA that does this, if it would help.


    <EMBED src="/cgi-bin/ubb/Members/sigs/00000205.swf" quality=high WIDTH=500 HEIGHT=50 TYPE="application/x-shockwave-flash" PLUGINSPAGE="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash"> </EMBED>

  3. #3
    Junior Member
    Join Date
    Mar 2000
    Posts
    2

    Post

    Scott,

    Thanks for your reply. I am still confused and would like to take you up on your offer of the Fla. Could you send it to daveman99@hotmail.com?

    Thanks
    Daveman

  4. #4
    Senior Member
    Join Date
    Feb 2000
    Posts
    195

    Post

    It has been sent

    If you have any questions about it, let me know!

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