Professional :: Fill Shape Drawn With Pen Tool?
Jan 31, 2010
I draw a shape with the pen tool in Flash CS4. I made sure the shape was closed. But, I cannot fill the shape no matter what. Paint bucket tool does not work. Whatever I do, I get the red diagonal line on the fill color. I can fill a shape with the rectangle or oval tools but not the pen tool.
View 7 Replies
Similar Posts:
Jun 15, 2010
So we're sitting here at the studio trying to figure out how to use the pen tool without a stroke. We do most of the work in Illustrator, then paste it in Flash. Unfortunately, some objects sometimes disappear while breaking the object down, which means that we have to do some actual touchup work in Flash.
View 2 Replies
Feb 9, 2010
im confused with the grid fill using the deco tool,its options does not have animate pattern,so if u have links to tutorials pls let me now,or else shed some light to my confusion.
View 3 Replies
Sep 24, 2011
When I draw a path with the pen tool, and fill it, it seems as if the shape now has two parts. If I drag the filled area around, it's breaking apart from the path (or border). So how can I make this one entity?
View 3 Replies
Oct 13, 2010
Trying to draw a triangle and then fill the color inside using the paint tool. I am not able to fill any color inside. Made sure the lines are overlapping, tried using the fill large gaps, made sure alpha is set to 100%.
View 3 Replies
Sep 26, 2011
Is it possible to draw a strokeless shape with the pen tool (as in Illustrator)? It is quite tedious to have to go back and remove strokes from my shapes.... especially since I can't see how to do it without clicking on each segment and hitting "delete"!
View 2 Replies
Aug 22, 2011
I want to have shape tween animation with bone tool on bitmap image. Because shape tween animation supports only Shape data type, I converted the bitmap to that type (Bitmap -> Trace Bitmap). Problem is that trace command splits bitmap image into multiple shape fragments, so I can't use shape tween anymore.I tried to combine and group shape fragments, but it doesn't fix it.
View 1 Replies
Aug 17, 2009
trying to create an animated preloader.how to do a basic bar preloader but what I want is to fill a swirl shape (attached) based on the amount loaded.I can easily enough create the movie clip where the full outline is there and then it fills up but I have no idea how to turn that into a preloaded and have it fill based on the percent loaded. Am I correct in assuming I can't use a mask because of the irregular shape?
Attachments:
preloader.jpg
(22.6 K)
View 22 Replies
Jul 7, 2010
I am trying to dynamically draw a circle and fill it up with some color. Drawing a circle is pretty easy job for me, but fill it up with some color seems not happening today.
PHP Code:
Circle function starts
function fnDrawArc(mc,x,y,r,angle){
mc.beginFill(0xFF0000); // this is not working....
mc.moveTo(x+r,y);
for(i=1;i<=angle;i++){
[Code] .....
View 1 Replies
Nov 19, 2010
I'm trying to draw a gradient in Flash using beginGradientFill and drawRect, but when the rect being drawn is partially outside the bounds of the parent, the gradient isn't drawn at all.
For example, consider the code below:
function testGradient():void {
var g:Graphics = container.graphics;
var width:Number = container.width;
var height:Number = container.height;
[Code] .....
When the rectangle being drawn lies within the bounds of container, everything works: However, if the rectangle lies outside of the bounds of the container, the gradient isn't drawn at all. For example, if the code is changed to:
...
var x:Number = 10;
var y:Number = 10;
...
Then the gradient disappears: Short of doing the math required to draw the box inside the bounds of the parent (and fixing up the gradient so it looks correct), is there any way to deal with this?
View 1 Replies
Mar 19, 2011
my current situation maybe akin to me painting myself into a corner. i have many vector shapes drawn with the Flash Professional CS5 IDE, which have been converted into sprite objects and exported to actionscript. for example, here are 3 shapes:
i want to programatically fill each shape with a bitmap from my library. i realize i can fill these shapes with library bitmaps in the IDE, but i need to scale the bitmaps at runtime as well as swap them out for others. how is it possible to programatically bitmap-fill shapes drawn within the IDE at runtime without having to also programatically redraw them?
View 1 Replies
May 15, 2009
I am trying to draw a line from x1, y1 to x2,y2 and i want it to be a line that repeats a pattern from an image. All I can see is that you can only draw lines and change their color or thickness but I would like it to repeat an image. Is that possible or do i have to use a really long and thin rectangle with a bitmap fill?The problem is I am making a game where the user will be able to actually draw the line so i have to make it be created dynamically. The game fantastic contraption [URL] has in the game a feature where you draw lines of any length and position that are filed with a picture.
View 13 Replies
Oct 3, 2009
I am having a problem getting color value of MovieClip's color on stage. This movie clip contains simple colored square drawn by Rectangle Tool.[code]...
View 0 Replies
Aug 15, 2010
Let's say i have a simple app where on mouse move user draws a shape. What i am trying to accomplish is to detect if drawn shape is circle so was wondering what would be the best or easier way to do that?
I believe i should do some math based on every drawn point X,Y coordinates but i need a push in right direction from more experienced people around.
View 3 Replies
Jul 13, 2009
1. I selected the Rectangle tool, and made sure Object Drawing Mode was not selected.
2. I picked colors for stroke and fill, and drew a rectangle.
3. I clicked the Selection tool, then dragged around the rectangle to select all of it.
4. In the Property Inspector I clicked the fill color icon. I clicked the square with the slash, to designate no fill. The fill disappears.
Everything has worked so far. But now I decide I want a fill color after all. I select the shape again. But clicking the fill color icon in the Property Inspector and the Tool panel has no effect on bringing a fill color back to the shape. I can't figure out how to do that.
Actually, I could restore the original fill color using Undo, or the History Panel. But it seems there must be a way using the Property Inspector.
View 2 Replies
Jun 15, 2010
I have a line randomly being drawn and moved across the stage. Here is the code:PHP Code:
import flash.display.Sprite;
var xValue:Number= 0;
var yValue:Number = 150;
[code].....
View 2 Replies
Nov 19, 2009
I am currently looking to see what the bounding are for the start drag method. And by the looks of it the bounding is set by passing the rect() object to the dragUpdater/ constructor. My question then is can you pass a custom drawn shape like a curve or what ever? By the looks of it you can not as specified by the adobe reference doc.
startDrag()method
public function startDrag(lockCenter:Boolean = false, bounds:Rectangle = null):void
So from this I would conclude that to have a custom drag path one would have to create a custom class.
View 2 Replies
Mar 2, 2011
how can i implement a bucket fill tool in paint application in flex?
case FILL:
var b:BitmapData = new BitmapData(width, height);
b.draw(this);
b.lock();
[Code].....
View 1 Replies
Nov 12, 2011
I'm looking for an AS3 version that dynamically populates this shape and allows for difference in font size to give it some more variety and flavour. I've got some examples of tag clouds but they don't accept a shape as its outer bounds and I've found some that allow for a shape but don't account for dynamic resizing of the text. Even a nudge in the right direction would be all I need and I can go from there.
[URL]
View 1 Replies
Jun 4, 2009
How do I make a picture available to be used as a fill for a shape?
View 2 Replies
Dec 12, 2010
I am currently learning to use flash and i am following the ebook guide. On lesson 2 at the end, it requests you to select a complex shape, go to the bucket option and change the fill colour to dark brown. I tried that but the fill option has a red line across it and it cannot be selected. I need to complete this step if i want to finish lesson 2. I tried different things but it seems like the shape cannot be edited. I looked and it is not locked.[url]...
View 2 Replies
May 2, 2009
How do I draw a square shape with a gradient fill in AS3?
View 3 Replies
Oct 27, 2010
I'm trying to fill shapes with text.
These shapes are pretty complex (i.e. they're not square, see image below).
So far, I place textfields manually on the stage and populate them one by one with strings (names) stored in an array. (The textfields are also in an array).
The example below is very simple and I will probably have to setup a good few hundred textfields in the final project.
Would anyone know of a way of populating these textfields dynamically according to an underlying shape?
Or maybe a different approach altogether?
I was thinking collision detection might be an idea but not sure where to start.
PS: I cannot simply use a mask over the chunk of text as each character shall be visible within the shape.
[URL]
View 14 Replies
May 25, 2011
When I open action script 2 or 3 in CS5, and draw a rectangle or any shape, I can only see outlines? The problem IS NOT the outlines button that is in the layers palet as I have changed this many times and it has mad no difference and the problem IS NOT because I have selected no fill or colour for the shape. If you want to see a screenshot of my computer follow this link as I have exactly the same problem [URL]
BUT interestingly, when I have opened someone elses .fla work document, I can draw and fill shapes without a problem, which makes me wonder whether I am missing some basis setting when I start with my own new document ??
View 3 Replies
Aug 29, 2009
I am beginner in flash and I started to learn flash c4 (with video lessons in my language but from flash 8! but it is not problem now about drawing than only about code in actionscript). I have now problem in using of Paint Bucket Tool in flash cs4. I made a ship, I made a whole document/white page for drawing in rectangle tool (frame for picture), and I made to lines which will be like a hill. it is for background, behind the ship. but when I want to color this background, to be green for example, my Pain Bucket Tool don't want to color ONLY place behind the ship and under mentioned "hill lines", than Paint Tool color whole document. therefore I can't make a hill because I get everything colored in green.
I tried all option about closing of gaps. how can I color only wanted places in picture and not whole picture? "hill" is not strait line so I don't know how to select hill space. of course, after it I will have to repeat process to color space above "hill lines", it will be blue like sky. and just to say that "2 hill lines" are from left to right side of document, there is no hole, it is closed line.
View 10 Replies
Jan 14, 2012
I draw a shape with the pen or line tool. If i did not draw it perfectly connecting the dots, i cannot fill it with the paint buck fill tool. How can you tell it to just close the structure
View 3 Replies
Apr 13, 2011
Does anyone know of a good tool for visually making shapes and then receiving the corresponding actionscript? To put it in context, I need to make a complex shape (a styled heart) with actionscript, but rather than going through the laborious process of trial and error with curveTo's and the like, I wanted to first see if there was already a tool out there.
View 4 Replies
Sep 8, 2010
Somehow, I've been unable to figure out exactly how to do this, even though I suspect it should be dead simple! All I want to do is read the colors of the fills & strokes on some objects I've imported from Adobe Illustrator. They have very specific colors applied to them, such that I can parse them (hopefully!) and know what to do with the objects based on their unique color.
View 7 Replies
Apr 11, 2012
For example, I have a transparent png file, the shape is a car.In the png file, I only draw the white border shape.Outside and inside the border are all transparent.
I want to use actionscript3 code to show the car object with different color, it means only fill color inside the border, and for the outside of the border, keep transparent.How to do that?
So far, the simplest workaround is to prepare many images with PhotoShop, but it's not good enough for me. When I have many shapes and use many colors, I've to prepare many many images.Add more details:(Because I'm using white border, you may not see the basic png file if your background of browser is white)
View 2 Replies
Aug 24, 2010
Say I draw a square on the stage, with a fill of blue and a stroke of black. My width and height are both the same. Now, in my Actionscript, I want to change that blue fill to something else.... on some off the wall condition of course.
Better yet, imagine I draw this extremly elaborate polygon out. How could I change it's fill, dynamically, in Actionscript (AS2 preferably, but I'm just lookin' for logic here)
View 1 Replies