A Flash Developer Resource Site

Results 1 to 3 of 3

Thread: [RESOLVED] Wind and Rewind

  1. #1
    zoranbbbb
    Guest

    resolved [RESOLVED] Wind and Rewind

    im trying to find out what how can i turn back -like rewinding- a moviclips movement like for example http://www.techspace.com those buttons on top, how can i make my buttons to rewind back their movement? is it actionscript?

  2. #2
    zoranbbbb
    Guest
    so many people seen this and not one knows? is it u dont understand what i need or is it hard?

  3. #3
    Senior Member
    Join Date
    Dec 2000
    Location
    Sleeping rough in the kindom of Lurk
    Posts
    139
    You are probably better off asking in the Actionscript forum or one of the Flash Help forums.

    I was looking into this myself and this is what I found so far

    Make a movieclip and within that movieclip have the animation you want to play.

    Have a stop(); command on the first and last frame of the animation.

    Then add this actionscript to the movieclip that holds the animation

    PHP Code:
    on (rollOver) {
            
    play();
    }
    on (rollOut) {
            
    this.onEnterFrame = function() {
                    if (
    this._currentframe>1) {
                            
    this.prevFrame();
                    } else {
                            
    delete this.onEnterFrame;
                    }
            };

    Only problem is when you rollout and rollover again when its "rewinding" it wont play again.

    Its a start but if you need more help ask in a more relevant section. Other people will be able to help you more than me

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