A Flash Developer Resource Site

Results 1 to 3 of 3

Thread: clip

  1. #1
    Member
    Join Date
    Oct 2003
    Posts
    40

    clip

    i want to make a simple clip to move from a point a to a point b with action script how can i do that?

  2. #2
    Senior Member pellepiano's Avatar
    Join Date
    Feb 2000
    Location
    Stockholm, Sweden
    Posts
    15,151
    ON the movieclip, have......

    // ON the movieclip
    onClipEvent (load) {
    //Point A
    this._x = 50;
    //POINT B
    _root.point_b = 400;

    }
    onClipEvent (enterFrame) {
    this._x += (_root.point_b-this._x)/7;
    }

    -Pelle Piano
    // Image Gallery
    www.studiobild.com
    // Photo Blog
    http://talesofthepixel.blogspot.com

  3. #3
    Member
    Join Date
    Oct 2003
    Posts
    40


    thank u.

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