A Flash Developer Resource Site

Results 1 to 4 of 4

Thread: [F8] Detect Motion Stop??

  1. #1
    Senior Member
    Join Date
    Oct 2004
    Posts
    2,049

    [F8] Detect Motion Stop??

    Is there a way to detect motion stop/complete when using using the following

    Code:
    import mx.transitions.Tween;
    import mx.transitions.easing.*;
    
    
    var myTween:Tween = new Tween(who, "_y",mx.transitions.easing.Regular.easeIn, -100, 300, 3, true);
    
    // Maybe something like
    
    who.onMotionStopped ?????

  2. #2
    Senior Member dudeqwerty's Avatar
    Join Date
    Mar 2005
    Location
    Bosnia
    Posts
    1,626
    myTween.onMotionFinished is what you are looking for
    New sig soon

  3. #3

  4. #4
    Senior Member dudeqwerty's Avatar
    Join Date
    Mar 2005
    Location
    Bosnia
    Posts
    1,626
    ay no worries
    New sig soon

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