Home Tutorials Forums Articles Blogs Movies Library Employment Press
Old 04-19-2006, 01:21 PM   #1
PenelopeP
Registered User
 
Join Date: Apr 2006
Posts: 2
Default move an object along a curved path with actionscript

Howdy,
I am trying to get a movieclip to move along a path using actionscript;
This should have helped http://proto.layer51.com/d.aspx?f=952,
but to be honest I don't have a clue how to get it to what I want

I have attached an outline of the path I want the mc to take,

any help would be much appreciated and would save my sanity!!!

Thanks
Attached Thumbnails
Click image for larger version

Name:	path.gif
Views:	688
Size:	7.5 KB
ID:	17448  
PenelopeP is offline   Reply With Quote
Old 04-19-2006, 01:30 PM   #2
jclarke
Senior Member
 
jclarke's Avatar
 
Join Date: Oct 2005
Posts: 229
Default

im not sure if you can do that in actionscript though im sure ive seen it done somewhere before,

but all I can say is if you can't find anything just animate it with a motion guide
jclarke is offline   Reply With Quote
Old 04-19-2006, 01:52 PM   #3
Xeef
Off-Line
 
Xeef's Avatar
 
Join Date: Aug 2004
Location: Ibiza/Spain language :Hungarian/German/ abit English
Posts: 6,539
Default

if your path is drawn by hand you can't (unless whit a motion guide)
if your path is drawn by script the link you posted shoud by fine

or in F8 there woud by the possibility to scan the Path and move along
BUT this is realy have und CPU and also the logic behind it
i have try it a while ago not to hard and whit out to much suxes !
i think if i realy woud need to do it
I woud need atleast 1 week
of research and programing !
__________________

test your self -->http://www.actionscript.org/forums/s...86&postcount=8
Xeef is offline   Reply With Quote
Old 04-19-2006, 02:10 PM   #4
PenelopeP
Registered User
 
Join Date: Apr 2006
Posts: 2
Default

hey all,
thanks for the replies.
It's mainly just a curve I am trying to get it to follow, I think I am going to save myself a lot of hassle and do it with tweens for the moment, as I think it will take me too long to figure out otherwise
PenelopeP is offline   Reply With Quote
Reply


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
How to find the path to an object? myarro ActionScript 2.0 1 10-13-2004 01:38 AM
How to move object smouthly? mrpc_cambodia Simple Stuff (Newbies) 1 09-15-2004 02:15 AM
color object target path question masha ActionScript 1.0 (and below) 6 04-28-2003 10:44 AM
actionScript help - winding path tcm71 ActionScript 1.0 (and below) 2 05-17-2002 03:12 PM
Move object when curser touches it Flaqwar ActionScript 1.0 (and below) 2 01-03-2002 08:05 PM


All times are GMT. The time now is 09:52 AM.

///
Follow actionscriptorg on Twitter

 


Powered by vBulletin® Version 3.8.5
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Ad Management plugin by RedTyger
Copyright 2000-2013 ActionScript.org. All Rights Reserved.
Your use of this site is subject to our Privacy Policy and Terms of Use.