3 Replies - 686 Views - Last Post: 15 November 2008 - 09:53 AM

#1 Ribs  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 10
  • Joined: 12-November 08

Movie Clip stuff

Posted 14 November 2008 - 03:43 PM

I would like to learn how to get a movie clip to move in a straight lne without using actionscript.

I'm not looking for actual code, Ijust need a push in the right direction.

Thanks.
Is This A Good Question/Topic? 0
  • +

Replies To: Movie Clip stuff

#2 BetaWar  Icon User is offline

  • #include "soul.h"
  • member icon

Reputation: 1199
  • View blog
  • Posts: 7,306
  • Joined: 07-September 06

Re: Movie Clip stuff

Posted 14 November 2008 - 04:16 PM

Look into motion tweens. That is the only way to move a MC without having AS involved. I believe there is a tutorial in the Flash tutorials section on it.
Was This Post Helpful? 0
  • +
  • -

#3 Ribs  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 10
  • Joined: 12-November 08

Re: Movie Clip stuff

Posted 14 November 2008 - 04:38 PM

Oops!
What I meant to say was "using actionscript".
Was This Post Helpful? 0
  • +
  • -

#4 BetaWar  Icon User is offline

  • #include "soul.h"
  • member icon

Reputation: 1199
  • View blog
  • Posts: 7,306
  • Joined: 07-September 06

Re: Movie Clip stuff

Posted 15 November 2008 - 09:53 AM

Okay, then there are a number of ways. You could just put an onEnterFrame function in the movieclip that will tell it to move x and/or y position each frame until it has reached a certain point or you could look into the Tween class (which comes standard with Flash). It allows for all sorts of interesting tween types without you having to worry about the guts that makes it work, however I have noticed that it does have issues sometimes (at least in Flash 8) with not stopping in the right place, but that isn't too bad and it normally works right.

Here is a pretty good tween tutorial:
http://www.kirupa.co...cript/tween.htm

Hope that helps.
Was This Post Helpful? 1
  • +
  • -

Page 1 of 1