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








Draw Outline


I have searched and searched and have not found "This is how it is done".

I want to draw an outline of a bitmap before the bitmap appears and then fill in the bitmap.

Example site - http://www.spcan.com/main.html

I have seen to possible ways of doing this but now one really knows.

1. draw the line and then reveal it via a mask

2. draw it via the drawing API.

A tutorial would be nice.

Thanks in advance.




FlashKit > Flash Help > Flash MX
Posted on: 09-20-2005, 01:41 PM


View Complete Forum Thread with Replies

Sponsored Links:

Draw Box Outline
I wanted to create a very simple quick animation.

A box outline will draw, then starting from the middle fill the box with the colour vertically (to top and bottom). A white box then draws at the top for the header and the logo fades in.

Then a few text effects with our products and services to be listed.

Does anyone know of a good tutorial to do something similar to this or broken up into it's areas? I have searched this site and googled but not had any luck finding something along the lines of what I need.

To draw the box I tried startng with a 1px x 1px line and stretching it then tween, but this doesn`t seem to tween.

Thanks folks

View Replies !    View Related
Draw Outline ( ? )
hi there !

just wondering... how can i draw a shape outline, as with a layer guide but more complex, i.e. a human body

thanx !

View Replies !    View Related
Animated Draw Outline...
Hi All,

I want to be able to animate the drawing of an outline of a plant (the image then fades in after the outline has been drawn).

I have seen this technique used a few times previously, but I haven't got the first clue how to reproduce this effect.

For an example, visit:

Flash Loaded Example

If you look at the the street lights at the top they draw the outline and then the image fades in.

Cheers

Carl

View Replies !    View Related
How Do I Draw/tween A Rectangle Outline With AS?
how would i write the code to draw/tween a 280 px wide X 180 px tall square with actionscript?. i would like to either a.) have the lines start in 2 opposite corners and draw "L" shapes to complete the rectangle shape; b.) Start in all four corners and just draw one side each c.) Start in one corner and draw the entire rectangle.

I want to be able to see the lines being drawn out...hence "tween"

TIA....

i should add...i have this script to create the rectangle:
Code:
MovieClip.prototype.rectangle = function(w, h, x, y, stroke, fill) {
this.lineStyle(stroke.width, stroke.color, stroke._alpha);
this.beginFill(fill.color, fill._alpha);
this.moveTo(0, 0);
this.lineTo(w, 0);
this.lineTo(w, h);
this.lineTo(0, h);
this.endFill();
this._x = x;
this._y = y;
};
var c = this.createEmptyMovieClip("c", 0);
var cstroke = {width:2, color:0xC9FFA6, _alpha:100};
var ccolor = {color:0x5A607E, _alpha:100};
c.rectangle(280, 180, 8, 10, cstroke, ccolor);
i would like to draw out the rectangle outline first... then fade in the fill color.....

I am trying to find a solution based on this thread on line animation and the advice to check out senocular's drawing class. but would appreciate if someone could offer a solution.... thaks

View Replies !    View Related
Dynamically Draw Out An Outline Of A Shape
drawing out line that will serve as a mask
im tryin to animate a drawing out of a line, but the line wont be an animation itself, itll be used as a mask that will reveal outline of a rectangle

i'm starting right now and im on this stage so far, the problem is i dont understand why this line is not drawing out horizontally, while it should

variables xpos and ypos are coordinates of the position i want to start drawing it from, xcor and ycor are the cooridnates that will be used to stop drawing once it reaches this point, then jump is how fast i want the line to draw(amount of pixels)
ps:the type is there because i will also make another case for vertical line

i know its not the most efficient way to do this, if anyone has better idea that will make the drawing out nicer and more dynamic i would be grateful. What im tryin to acheive is this simple effect you can see on some of the sites, where durin intro the outline of the rectangle is being drawn out. I cant point to any site at this time though, hope my explanation helps and thanks i advance to all of you that can help me



Code:
lineDraw = function(type, xpos, ypos, xcor, ycor, jump){
this.createEmptyMovieClip("temp", this.getNextHighestDepth());
this.temp.lineStyle(5, 0x003300,100);
if(type=="horizontal"){
temp.onEnterFrame=function(){
temp.moveTo(xpos, ypos);
this.x+=jump;
this.y+=0;
this.lineTo(this.x, this.y);
if(this.x==xpos && this.y==ypos){
delete(temp.onEnterFrame);
}

};
}
};

this.lineDraw("horizontal", 0, 100, 800, 100, 10);

View Replies !    View Related
Draw Outline Of Object Or Get Bezier Points
Hello people, I am struggling with an issue where I want to create a function that draws an outline of any object and I want to use this outline as curve path so I can animate objects on this path using Tweener.

Like that:

Code:
var path = new Array();
path.push({x:300, y:0});
path.push({x:200, y:400});

Tweener.addTween(plane, {x:100, y:200, _bezier: path, time:3, transition: 'easeInOutSine', onUpdate: update});
But I want the control curve points to be dynamically taken by any display object's outline.. I tried drawing the object to a bitmap data and then use its pixels to draw the curve but I got no success..

So do you have any tips or ideas or even solutions how this thing can be made? Thank you in advance.

View Replies !    View Related
Draw Outline Of Object Or Get Bezier Points
Hello people, I am struggling with an issue where I want to create a function that draws an outline of any object and I want to use this outline as curve path so I can animate objects on this path using Tweener.

Like that:
Code:

var path = new Array();
path.push({x:300, y:0});
path.push({x:200, y:400});

Tweener.addTween(plane, {x:100, y:200, _bezier: path, time:3, transition: 'easeInOutSine', onUpdate: update});

But I want the control curve points to be dynamically taken by any display object's outline.. I tried drawing the object to a bitmap data and then use its pixels to draw the curve but I got no success..

So do you have any tips or ideas or even solutions how this thing can be made? Thank you in advance.

View Replies !    View Related
How To Draw Premieter Of MC? (using Draw Api)
Hi im trying to work out the perimeter of my mc visually, so I want to be able to draw the perimeter of the mc. I gathere there is use of getBOunds and the lineTo and moveTo methods, but how to use them to draw the boundary im not sure. Can any one help?

View Replies !    View Related
Outline
Draw Outline - I think there is a way to have AS draw an outline around your stage... does anyone know how this is done?

thanks
nads

View Replies !    View Related
Outline
need some help...very new to this, trying to outline an image, the image is a png. want to outline what is inside, not the transparent box. using mx??

View Replies !    View Related
Outline
how do you create the look like you are viewing outlines?

View Replies !    View Related
Outline
i purchased a template and now i am having trouble. not only am i having trouble editing it, i cannot get support from the people i purchased it from.

here is my trouble....

upon loading the .fla, there is an image of a girl that pops up and an electric outline runs around her profile. i am able to import a new image (i replaced the old pic of the girl w/ a new one) i am just not able to change the profile outline.

i thought it would be easy but i am having trouble.

anyone familar w/ this or any suggestions?

this forum has been a blessing to me! thanks!

View Replies !    View Related
Outline
Is there an easy way to create an outline around an object, normal shaped or non? Thanks

View Replies !    View Related
Odd Outline
ok, so I made a flash banner for my forum and I put it up. The problem is that the flash shows a black outline around it, I don't want that. I have never had this problem before, I am not sure what I did wrong. Any ideas?

View Replies !    View Related
Can't Get Rid Of Outline
Anytime I draw a square, circle or even bring a .jpeg to the stage it only gives me the outline of the object. I don't have the outline button selected in the time line nor do I have any type of onion skinning selected. If I open previous projects this is not a problem but for some reason every time I create a new document this happens. I am using "flash cs".

If anyone can help that would be great

Thanks

View Replies !    View Related
Help With AS Outline
I could use some help figuring out how to do the following.

I want to have a rounded corner rectangular white box with drop shadow that will have a minimum width of 700px and a maximum width of 900px and contain a left hand aligned area 200px wide that slides in and out if you rollover the edge on the left. Can anyone help me with this or point me in the right direction?

View Replies !    View Related
I Want Just The Outline
Hi, I am using big lettering, but I just want the outline of the lettering, how would i go about doing this?

View Replies !    View Related
Outline
hey, if you look at the intro for http://www.geneticshoes.com/geneticSite.html you will see a skateboarder ollie and grind. My question is how do I take a part of a video and give it that effect of just the persons outline? Thanks for your help!

View Replies !    View Related
Following Outline Of Button
I cant get the job done,
i have a horizontal bar of buttons, when you rollover one of them his outlines wil change, BUT
when you go left with mouse the outline of the button must jump to ne next button

I tryed it with a drag action of a movieclip, and constrain to rectangle, it worked but the only problem then was that i cant stop the command to drag, from the moment you leave the bar with buttons, the mouse must show again and the movieclip that dragged must stop at the same place you leave the bar,

anybody know how to do the trick, or a site or a tutorial that looks like it or uses this effect

Thanks

View Replies !    View Related
Smoothing An Outline...
If i create a square, is there any way to "smooth" or "round" the outline aka the "stroke" line?

Thanks.

View Replies !    View Related
Outline Text
how do u outline text in mx?

View Replies !    View Related
Outline/box Tween?
Can someone give me some pointers on when I try to "Tween" a WHITE box with a black outline....the outline always gets thicker?....I have tried just using an outline?...but the same thing happens?. DO I need to convert to a fill or something? Thanks.
--whispers--

View Replies !    View Related
Outline Tree
How do I change the look of the Outline Tree?
Right now all I see is something called,"Shape" I need to see where the text is so I can change it. Help....

View Replies !    View Related
Cursor/outline
i have a slight problem and i have no idea how this came to be. now as you make a rectangle, circle, line, and shape, you can see the outline of what you are making. mine seems to have disapeared, no matter what color the background is i can't see that outline. now i have flash on my computer at home, which i can see an outline; my fathers, which i can see an outline; and my mothers, which i can't see an outline. unfortunaly, i'm at my mothers for while and i'm trying to work on a project, but i can't see a ******* thing as i'm making it and it's really starting to.... well anyways, i've looked all through the settings and whatnot and havent found a thing. if someone could please tell me what i missed i'd really appreciate it, as it's hard as hell to design when you can't see what your making.

Thanx

View Replies !    View Related
Please Please Help With Outline Tween...
Hello and thanks for your time.
I need to edit an outline tween to accommodate some words, however each time I try to do this the tween plays up.
Can anyone tell me how to edit the outline tween in the following file, when you open the file you will see that I have changed the wording and now the outline does not fit?
Any help or guidance would be greatly appreciated.


http://www.spikeydog.net/public/outline_tween.zip

View Replies !    View Related
Text Outline?
Is there a simple way to make text have a certain colored outline?

View Replies !    View Related
Is It Possible?: Outline On Mask?
I would like my mask to have an outline.
Does anyone know ho to do this?

thanks...

View Replies !    View Related
Outline Text
How do I put a white outline on Red text?

View Replies !    View Related
How To Add Outline To Shape?
I sure hope someone can answer this one for me. It has me perplexed. Okay, when you draw a shape in Flash, let's say a circle, it draws a 'fill' and adds an 'outline' automatically. Now let's say I deleted the 'outline' part of it, and am left with just the 'fill'. Is there a way to add the 'outline' part back to the shape afterwards? I have a non-standard shape that I need to add an outline to, but can't seem to figure out how to do it...

View Replies !    View Related
Text With Outline- How?
Hi,

I'm sure this is a relatively straightforward question, but it's driving me mad!!

I am trying to create some text with an outline in flash. I can't seem to find anyway of doing this in flash! I've attached a copy of what I am trying to achieve. I have created this in photoshop, but I really want to try to avoid importing this into my flash movie, as this will make the movie too large and I think it might also be messing up part of the animation.

I hope this makes sense.

Any suggestions would be greatly appreciated.

Thanks,

Carly

View Replies !    View Related
Text Outline
how do u make the outline of text a different color the text. so the text is grey but the outline is red? please contact me!

View Replies !    View Related
White Outline
hi does anyone know how a tutorial for making this
http://www.jenofenology.com/JFV4/

i want to be able to make the white lines that go over the rock i'm not sure what its called i've seen alot online and i like it
thanks in advance

i have flash mx 2004

View Replies !    View Related
Outline Text
Anyone know how to put a stroke on text. I've tried breaking it apart, but can't apply a stroke.

View Replies !    View Related
Drawing Outline
Hi,
How can I make an animation that draws the outline of the picture?

I have tried using tweens and shapes etc. Its ther an easier way?

An example can be found at the below link:

www.dennison.co.uk

View Replies !    View Related
Drawing Outline
Hi folks...
I need to draw 1-pixel outline around the transparent image for animation in Flash. All i want to know is how to draw in Flash. Is there any easy technique to get that done. I'll be looking forward to have prompt solution from u guys. Thanx in advance.

Flashish

View Replies !    View Related
Add Outline To Shape
Say i have a shape made or some text that are now shapes, and I would like to add an outline to it. How can I add an outline without creating a new shape or manually tracing it? (preferably it will automaticly trace the shape and apply the outline)

thanks,
5N4K3

View Replies !    View Related
How Do You Tween An Outline?
This is kind of difficult to explain what i need to to do, so hopefully you'll understand.

I have a picture of a human body, and using the oinion skin i want to trace around it so i end up with a drawing of the body.

How do i make it so that the animation starts at the feet draws up the leg, around the body, down then up the arms, around the head etc and then all the way back to where where the line started.

When i try and draw around the body and use a shape tween it morphs from a little dot to a body, i would prefer it to look as it its drawing the body, not morphing into it.

Any ideas?
Thanks

View Replies !    View Related
Security Outline On IE...
Recently I have noticed that flash sites with IE are having a border around it. I have found this is a new security precaution by IE for active X components. I notice many flash sites I goto doesnt have this white border. Is there a way around it. If there is no way around, flash may have problems. Many "non-IT" people may not know to double-click on the flash object to get it to work. Does anyone have any knowledge of work arounds?

Thanks... Bubba

View Replies !    View Related
Grey Outline?
I have created a Flash MX movie and dropped it into HTML. On a few PCs (in Explorer) it has a grey outline around it, when the visitor rolls over the movie. How can I get rid of this? Better question yet: what is causing this?

Also, on the same computer, in this movie there is a special mouse cursor effect that does not show.

I work on a Mac (OSX, viewing it in FireFox) and it runs beautifully. Can anyone give me advice on these two problems?

View Replies !    View Related
Grey Outline
Okay, this may be the dumbest question I've asked.

I've published my .swf and my html files to my file manager. Now when you go to the website there is a grey outline and you have to click the screen to get rid of it. Why is it there?

It is not present when just pulling up the site with the .swf.

Thanks!

View Replies !    View Related
[CS3] Photo Outline Help
Hi,

I am editing this template : http://www.templatemonster.com/flash...tes/18584.html and need some help changing the colour of the border around the photos when you move the mouse over the image. It's currently green and I need to change it to grey.

Have checked the images in Photoshop but they have no border so it must have been done inside Flash.

Sorry if this is a stupid question.

Thanks in advance.

View Replies !    View Related
Fill And Outline
hi,

is it possible to modify the values of Fill and Outline of the Shapes thru scripts.

The shapes are drawn at authoring time. i want to modify the thickness, color of the fill and outline of these shape movieclips.

View Replies !    View Related
Exporting An Outline
I made a small animation yesterday but in the end, I like the way it looks in its outline form better than when I can see all the images themselves!! Yes, sad, but true.

Does anyone know if it is possible to export in outline form? (Such as, you have a picture and you click on the small box in the layer that allows you to see only the outline or the 'negative' so to say of the image rather than the entire image itself). I tried several different ways of exporting but found no solution.

Thanks again in advance!!

Sincerely,
Audiochick

View Replies !    View Related
Tracing And Outline
I was wondering if there is a simple way to create a trace effect of an outline of something. I've seen it a lot so just wondering if there is some simple way to do it. Hope someone can help.

- Nick

View Replies !    View Related
Image Outline
ok so ive very rarely used flash but i really need to do this project...so what i have is a side image of a face...just a one demensional flat image of a white face. what i want to do is create a shining line that moves down the the outline of the face and then gives one big flash when it gets to the bottom. is there anyone who knows how to do that?

View Replies !    View Related
WEB Png White Outline
hi, whenever i saved a pic with transparent background to web png file theres always a white outline around the pic. And i dont want to always use the eraser tool everytime i save a pic as web. is there any easier way to remove the white outline like changing the settings?

View Replies !    View Related
Outline And Then Image?
I've been experimenting with Flash for a while now and I don't understand how to make something that shows the outline of an image, and then the image...

I understand using alpha and stuff to make this, but does anyone know a tutorial on it?

Thanks.

View Replies !    View Related
How To Add An Outline To Text
Hi guys,

I'm sure this must be a very easy question, but I can't find out how to outline my text - I've searched all the panels and tools, but no luck.

Could someone please enlighten me

kind regards,


Ajit

View Replies !    View Related
Outline Animation
I want to know how to create the effect where you have an outline of a shape (resonably complex), and you make it appear to draw itself. I dont want to use frame by frame animation or a mask layer with frame by frame animation because this wont be as smooth and its more time consuming. Is it possible to achieve this with tweens? or even actionscript?

View Replies !    View Related
Flash Outline In The New IE7
hi hi guys it's being a minute since I post. I am having trouble with the new IE7, it's placing this strange border aroun my flash elements, and I have to click on it to activate it. Those anyone knows how to desable that border?

Thanks

View Replies !    View Related
Want Text Outline
Hi Buddies

I want to know that how can i get outline of any text in graphic

means

if I write " Red "

then i want this text as when we make a circle (means outline + cirlce )

sothat i can make effect

thank you

mail me anandin_2004@yahoo.co.in

View Replies !    View Related
Copyright © 2005-08 www.BigResource.com, All rights reserved