Tracking Forums, Newsgroups, Maling Lists
Home Scripts Tutorials Tracker Forums
  Advanced Search
  HOME    TRACKER    Flash




Motion Guide Out Of Existing Curved Line



Hello, I have a curved line already in the movie..
I would like to use this path as a motion guide...

Can I use this existing line instead of having to redraw the path?

Thought all I had to do was right click on the layer of the already drawn curved line... and make it a Guide...

Then snap the object to the end of it..

Anyone have any tips..

Here is the file so you can see what I am talking about..

I want to tween a little star along the path of those curved lines...

http://www.videolinktechnologies.com/flash/movie.swf

Thanks
Kenny



KirupaForum > Flash > Flash 8 (and earlier) > Flash MX 2004
Posted on: 07-01-2004, 08:08 PM


View Complete Forum Thread with Replies

See Related Forum Messages: Follow the Links Below to View Complete Thread

Motion Guide Out Of Existing Curved Line
Hello, I have a curved line already in the movie..
I would like to use this path as a motion guide...

Can I use this existing line instead of having to redraw the path?

Thought all I had to do was right click on the layer of the already drawn curved line... and make it a Guide...

Then snap the object to the end of it..

Anyone have any tips..

Here is the file so you can see what I am talking about..

I want to tween a little star along the path of those curved lines...

http://www.videolinktechnologies.com/flash/movie.swf

Thanks
Kenny

Line Fill Along A Motion Guide
Hello,
I'm trying to get a line to progressively fill along a motion guide, so it begins as a dot on one end of the guide and is a complete line, tracing the guide, at the end. Can anyone tell me how I can do this?

Thank you,
Zoomcalibrasi

How To Draw A Line Along A Motion Guide?
I want to draw a line along a motion guide.
It starts with nothing and ends in a half circle.

Can enybody help??
plz

Drawing Line Following Motion Guide
Hey I would like to make an animation in which the line drawing the outline follows a motion guide. This would be like the outline of the image was being traced and drawn....

So in a nutshell I want a line on a motion guide to strech and fill the whole motion guide...

Could someone please help me?

Motion Tween On Guide Line
what happened to this tutorial^
am i just blind, or is it gone?

Attaching MCs To A Line/motion Guide..
Hi everyone,

I need to attach a series of mcs to a curved line. These mcs are attached through actionscript with the attachmovie code, they do not tween, just attach at intervals one after another. Its hard to explain i know. When the user presses a button on the screen the first mc appears at the start of the curve, another press attaches another mc perhaps 10px inwards on the line and so on.

Does anyone know any actionscript that will cause these mcs to attach to this motion guide? Or actionscript that will make the mc attach and snap to the curved line??

Thanks, and merry xmas!!

Steven.

How To Make A Line Follow A Motion Guide?
Hello, I'm very new at Flash and I could use a bit of help
I'm trying to create a motion where one end of a line follows a motion guide, while the other end remains stationary. Any ideas how I could achieve this?

Get Line To Grow Along A Path (motion Guide?)
Hi all,

How do I get a line to grow along an arbitary path or a motion guide in Flash 5.

Thanks.

Animate A Line Being Drawn Along A Motion Guide Layer
Hi, I have a question and I'd really appreciate your help. My question is how can I animate a line being drawn along a motion guide layer, that's where the line follows the guide from the start point to the end point, I know how to do it using masks but it would be very hard if the line has lots of twists and intersections. can someone help me please?

Animate A Line Being Drawn Along A Motion Guide Layer
Hi, I have a question and I'd really appreciate your help. My question is how can I animate a line being drawn along a motion guide layer, that's where the line follows the guide from the start point to the end point, i.e. the line draws itself I know how to do it using masks but it would be very hard if the line has lots of twists and intersections. can someone help me please?

Animate A Line Being Drawn Along A Motion Guide Layer
Hi, I have a question and I'd really appreciate your help. My question is how can I animate a line being drawn along a motion guide layer, that's where the line follows the guide from the start point to the end point, i.e. the line draws itself I know how to do it using masks but it would be very hard if the line has lots of twists and intersections. can someone help me please?

Is It Possible? Motion Guide + Motion Tween + Actionscript Api Drawing
Hi

Im looking for some help I've done a lot of research and spent hours trying to find a way to do this so any input is appreciated.

I have drawn a shape in actionscript

_root.createEmptyMovieClip("myMoon",6);
with (myMoon){
beginFill(0x999999, 100);
drawCircle(50,120,30);
endFill();
}

new Tween(myMoon, "_x", Elastic.easeOut, 0, 300, 3, true);

Basically I have a tween on it that works fine but what I need to do is motion tween along a motion guide.

Of course I know how to achieve this through the normal way of drawing a circle through the tools box but I have to figure a way out to do this to the shape drawn in action script via the drawing api. How can I do this?

I presume I have to someway make this shape appear in my library as a symbol possibly? Hope someone has a soloution thanks a lot

Shape & Motion Tweens With Motion Guide? Can It Be Done?
Hello everyone

I am currently trying to make a line shorten gradually as it moves.
In other words I want to combine a shape and motion tween, using a motion guide to direct it.

Could someone supply an explanation for how to do so??

Thanks

Using Motion & Shape Tweens With A Motion Guide?
I am currently trying to make a line shorten gradually as it moves. In other words I want to combine a shape and motion tween, using a motion guide to direct it.

Curved Line
Hi!

All's I want to do is to draw a blue curved line and fill in blue above it and keep it white below.

I see how to get a curved line with the pencil tool, and I selected it after I drew it and hit the smooth button to smooth it out a bit. Now how can I get the blue fill on top?

I think you might use the paint bucket tool, but not sure how to select the white space on top of my blue curved line...

What am I doing wrong??

Curved Line....
I want to make a curved line like on this website http://www.vibehotels.com.au/ but i'm not how to do it? I guess with the pen tool but i don't know how to use it. can someone please explain this for me?

How Do I Animate A Curved Line?
hi..

i'm aware it's a lame help question but i am dying here. i need to animate a line from one part of the stage to the other (small to big) and it needs to curve off to the side...

any help would be appreciated! THANKS.

Curved Line Radius?
Hi there, I design plans for halfpipes and the like, so I need to make curves and it helps when I know what I'm drawing, so is there a way to find the radius of a curve once i bend the line? It might become tricky because it might turn out to be an ellipse, which has 2 foci, and would also be hard to do. These tend to be like 4+ feet tall, and 18+ feet long, so a conversion factor would be even better(seeing as Flash can only go up to 40 inches)

Thanx alot

**Growing Curved Line**
I'm trying to create a growing curved line. For example, a car's tail lights cruising down a road leaving a tracer behind. Any advice would be greatly appreciated. Thank you

peace and balance. . .

Curved Line Tool?
This is probably the simplest question I asked so far but I noticed on the tool bar that there is no curved tool bar. I used to use director and that had a curved tool bar but flash doesn't

Animating A Curved Line
This is probably a slightly daft question, but does anyone know how to easily animate a curved line that starts on one side of the screen and goes across to the other side?

I want to create a flowing, dotted line curve across the screen, but can't make it work at all. I have tried masks and all sorts, but I'm sure there must be an easier way. If anyone can help it would be most appreciated!

I am at my wits end!

Thanks
Steve

Masking Of A Curved Line
Hi

I want to make a curved line on a world map which will look like originating from one country and will end up on another country, making a route between two countries. I have tried but have failed. I guess it will be a mix of masking and motion tweening. Could someone please urgently guide me to correction direction??? Thanx in advance guys

Attaching MCs To A Curved Line... ?
Hi everyone,

I need to attach a series of mcs to a curved line. These mcs are attached through actionscript with the attachmovie code, they do not tween, just attach at intervals one after another. Its hard to explain i know. When the user presses a button on the screen the first mc appears at the start of the curve, another press attaches another mc perhaps 10px inwards on the line and so on.

Does anyone know any actionscript that will cause these mcs to attach to this motion guide? Or actionscript that will make the mc attach and snap to the curved line??

Thanks, and merry xmas!!

Steven.

Attaching MCs To A Curved Line... ?
Hi everyone,

I need to attach a series of mcs to a curved line. These mcs are attached through actionscript with the attachmovie code, they do not tween, just attach at intervals one after another. Its hard to explain i know. When the user presses a button on the screen the first mc appears at the start of the curve, another press attaches another mc perhaps 10px inwards on the line and so on.

Does anyone know any actionscript that will cause these mcs to attach to this motion guide? Or actionscript that will make the mc attach and snap to the curved line??

Thanks, and merry xmas!!

Steven.

Animating Curved Line
http://fcc.ashwebstudio.com/

The top section is where the Flash is. That green line is what I am having problems animating. They want it to draw in from bottom left to top right area.

I have no clue how to do this.

Text Along Curved Line
Hello,

I am trying to get a text string to follow a line.  Example, I want the text's baseline to be curved.  It would also be nice if I could get the text to stay on that line through a shape tween.....


Lets see if I can draw a bit better picture:

I have a window, but it is a bit distorted...think of one side being really short, and the other side being a normal size. the top and bottom of the window are curved, and I want a title to go across the top of the window.  

Later on, I plan to implement a shape tween to get the window to a different shape, and it would be really cool if it were easy to make the text move right along with the top of the window.

Thanks for any help.

Robert

Robert Carpenter
/b{2}|!b{2}/ - that is the question...
http://www.toyboxhosting.com
robert@convertingchaos.com
http://www.convertingchaos.com

Creating Curved Motion Paths Dynamically..
i want to make a "clay pigeon" fly through the air in my latest game. The trouble i'm having is applying a curved path to it. I'm trying to implement graphs (from maths) that use;
y = x*x
to create a curved motion. Does anyone know how i can apply this to my movie??

I have made it so that i have a little bit of a curve, but not substantial.

my code so far is a bit like this..

this._x += 10;
this._y = this._x*this._x/1000;

anyone know how i can make it curve in a smaller area. Like twice as steep.

any help is apprieciated.

Make A Curved Line Seem To Grow
I know this should be an easy concept but I just can't get my mind around this.
I'm trying to make a curved line seem to grow in length. Basically, I'm trying to animate a flow chart. My lines are all curved and I can't figure out whether I should be using a shape tween or motion tween or what.

What is the best way to make a curved line (with an arrow on one line) seem to grow?
Please help this new, new newbie :-)

Actionscript 2 Curved Line Moving...
hi all, I'm creating a high jump game with AS 2.0. I need to replicate the bend of the pole, and then the steps taken to bend the pole back again, depending on the speed of the jumper. Anybody got any examples or ideas? I found a great example in AS 1.0 but I really need to get on to 2.0 instead. I can create a line with a bend, but can't get my head around the maths to do anything with it. All help really appreciated.

Drawing Curved Animated Line
I am fighting with my little bit of knowledge on how to animate a curved line. It's from one corner of the marquee to the other corner with a slight curve in the middle to soften the line. I want it to draw from the one corner to the next with that curve intact. Can anyone give me some advice on how to do it?

Thank you,

R

Drag MC Along A Curved Path Or Line In AS3.0?
I need to allow my user to drag a movie clip along a CURVED path or motion guide but in AS 3.0. I also need to orient that MC to the path but I believe I can handle that part with the orientToPath property . I would really appreciate any suggestions about approaches or tutorial links. My limitation up to this point has been never having seen trigonometry! Thanks for any suggestion/help in advance!

[F8] Position Movieclips On Curved Line
Hey,

I want to be able to position a series of movieClips along a curve of a cicrcle, well part of it. Basically I need a curved wall.

This is where I am at the moment, ...not very close.


_root.rot = -30
for (var i:Number = 1; i < 6; i++) {
var block = attachMovie("block", "block_" + i, _root.getNextHighestDepth())
block._y = 30
block._x = (block._width+10)*i
_root.rot += 5
trace(_root.rot)
block._rotation = _root.rot
}

Can anyone point me in the right direction

Cheers

Curved Line Collision Detection
I have some code that creates 5 randomly shaped/placed curved/straight lines when a button is clicked. I need to make them never cross each others path when they are created, and I have no idea where to begin with this.

Heres my code:

Code:
createLines.onRelease = function() {
//Random number function
randomPos = function (num) {
return Math.round(Math.random()*num)+1;
};
//set boundries
xMax = 600;
yMax = 400;
//5 line loop
i = 1;
while (i<=5) {
xStart = randomPos(xMax);
yStart = randomPos(yMax);
xCurve = randomPos(xMax);
yCurve = randomPos(yMax);
xEnd = randomPos(xMax);
yEnd = randomPos(yMax);
drawingArea.lineStyle(3, 0x0000FF, 100);
drawingArea.moveTo(xStart, yStart);
//randomize straight and curved lines
if(randomPos(1) < 2){
drawingArea.lineTo(xEnd, yEnd);
}else{
drawingArea.curveTo(xCurve, yCurve, xEnd, yEnd);
}
i++;
};
};
Thanks for any help that anyone can give me.

Curved Line To Multiple X, Y Points
I am new here and new to actionscript 3.0. This seemed like the place to ask questions about actionscript.

I have a xml file with a series of x,y grid points and I am trying to create a curved line connecting the points. I have found the 'graphics.curveTo' and 'graphics.lineTo' but the curveTo only creates a max of one curve and the lineTo only creates straight lines. Tried joining curves together but that turned out weird.

Could someone please help as this problem is driving me insane.

Drawing A Curved Line W/ Actionscript
I'm having a tough time trying to dynamically figure out what a control point should be between a start and end point. I would like to consistently get a soft curve between the two points. The ideal curve would look something like this:
http://www.actionscript.org/resources/content_images/4/steps.gif

My problem comes in when I need to figure out the math to get the control point (p1 in that graphic). I see a lot of code out there drawing a sine curve or something more detailed, but I'm getting lost when it's just one curve. Ideally, I think what I'm looking for is a function along these lines:
Code:

function drawCurvedLine(target_mc,startX,startY,endX,endY,curveAngle){
...
}

The "curveAngle" argument would be a degree like 30, 45, etc...

If anybody can help, I would appreciate it greatly. If I'm not thinking about this correctly, let me know.





























Edited: 11/26/2007 at 06:03:47 AM by n00ge

Determining The Middle Of A Curved Line?
Hello,

I want to draw a race course with a single line and be able to place movieclips on it to represent cars. Is there a way to take a line and figure out its total length so you can determine where its midpoint is? I want to be able to pull from a data source and say "car A should be 18% of the way through the course, and car B should be 32% of the way to the end.

Any help would be lovely.

Thanks,
Jon

Position MovieClips On A Curved Line
Hey,

I want to be able to position a series of movieClips along a curve of a cicrcle, well part of it. Basically I need a curved wall.

This is where I am at the moment, ...not very close.


_root.rot = -30
for (var i:Number = 1; i < 6; i++) {
var block = attachMovie("block", "block_" + i, _root.getNextHighestDepth())
block._y = 30
block._x = (block._width+10)*i
_root.rot += 5
trace(_root.rot)
block._rotation = _root.rot
}

Can anyone point me in the right direction

Cheers

Is There A Simple Way To Animate The Drawing Of A Curved Line?
I am trying to find a simple way of animating the drawing of a curved line. Anyone have any ideas? Also, I am sort of new to flash.

Thanks
Kyle

Making A Line Follow A Curved Path
Hello all:
I need to make a line move along a path. The end result will be an animation depicting a piece of paper traveling through a roller path.
Please help!
Thanks

Find A Point On A Dynamic Curved Line
Im generating a line dynamically to simulate a wobbling stack of books.



The image shows the line which the book stack will follow. however im struggling to find a simple method of snapping my books to the line.

Any suggestions?

Drawing A Curved Line (trouble W/ Control Point)
I'm having a tough time trying to dynamically figure out what a control point should be between a start and end point. I would like to consistently get a soft curve between the two points. The ideal curve would look something like this:
http://www.actionscript.org/resources/content_images/4/steps.gif

My problem comes in when I need to figure out the math to get the control point (p1 in that graphic). I see a lot of code out there drawing a sine curve or something more detailed, but I'm getting lost when it's just one curve. Ideally, I think what I'm looking for is a function along these lines:

Code:
function drawCurvedLine(target_mc,startX,startY,endX,endY,curveAngle){
...
}
The "curveAngle" argument would be a degree like 30, 45, etc...

If anybody can help, I would appreciate it greatly. If I'm not thinking about this correctly, let me know.

Drawing A Curved Line (trouble W/ Control Point)
I'm having a tough time trying to dynamically figure out what a control point should be between a start and end point. I would like to consistently get a soft curve between the two points. The ideal curve would look something like this:
http://www.actionscript.org/resource...es/4/steps.gif

My problem comes in when I need to figure out the math to get the control point (p1 in that graphic). I see a lot of code out there drawing a sine curve or something more detailed, but I'm getting lost when it's just one curve. Ideally, I think what I'm looking for is a function along these lines:

ActionScript Code:
function drawCurvedLine(target_mc,startX,startY,endX,endY,curveAngle){
   ...
}

The "curveAngle" argument would be a degree like 30, 45, etc...

If anybody can help, I would appreciate it greatly. If I'm not thinking about this correctly, let me know.

Motion Guide Help
Well I have just begun to understand animation but have a quick question. Is it possible to create a motion guide from another program, fireworks, freehand, and than use it in flash.

I have tried drawing a spiral in Freehand, copying it, and than pasting it into the motion guide layer in flash, but the object does not seem to follow that path. If I draw the path in Flash it works fine. Any ideas, thanks for the help.

Erik

Motion Guide
hi all,
I made an object that I want it to move around in a cricle, and I used the motion guide to do so; however,it seemed like if I want the object to end up in the same spot on the cricle motion guide, it wouldn't let me do it!
Can someone help? I know it should be easy, but I have trouble with it! Thanks for the help!

Motion Guide
i would like to make a line that only have one edge following a guide while the other stays fix .
i tried to many things but didn't work,could somebody help me .
thx.

Motion Guide Help
For something so simple I'm having real problems getting motion guides to work. It works if I use the pencil tool and hand draw the guide but this is so inacurate it's pointless. However, when I draw a line using the pentool it doesn't work! The animation is basically a ball that bounces from one side of the screen to the other so the motion guide needs to be a series of joined arcs.

Can anyone help?

Motion Guide?
I have not been able to find a guide or tutorial that answered my problem so I'm asking here. I want a waving flag to move across the screen. The problem is that I can only get it to wave by changing the flag's look frame by frame. On the timeline I have like 75 keyframes in a row just to make it wave. I don't know how to make the flag move other than redoing it and making the flag move inch by inch, frame by frame across the screen. I think this can be done with just a motion guide but I don't know exactly how.

I have a link to a screenshot of my problem so take a look to get a good idea of what im doing.

http://members.lycos.co.uk/homegrown898/motion.jpg

Motion Guide
Hello, I just bought the book " THE FLASH ANIMATOR " this book ROCKS!! but how do you create a motion guide because sandro talks about this several times and I dont know how to do one

Motion Guide?
How to add an animation picture to motion guide?

Copyright © 2005-08 www.BigResource.com, All rights reserved