Why is it that when I draw with the pencil tool, my lines get auto-reshaped? This is nice but it's not nice when I try to draw a stickfigure and it turns out completely wrong. Sometimes when I draw a circle with the pencil tool it becomes a square. But then again I don't use a drawing pad. I use a mouse.
Somebody told me: "Because Flash is really a vector drawing tool, not a bitmap drawing tool. It is *interpreting* your marks as pieces of a curve. That said I think there may be a setting to remove this smooth - in effect using more line parts for you drawing."
I'm new to Adobe Flash CS4, and I was wondering why on earth my pencil tool delays when I draw with it? I will click, draw my line (which will be invisible), then when I let go of my mouse/pen, the line appears. Is it supposed to do that? Is there a way to fix it? I hate it, because I can't see what I'm doing. I downloaded all of the updates, and I have more than enough memory on my computer and my processor is more than fast enough. My paintbrush works fine, it's just the pencil.
Flash 8, CS3 and CS4 on Windows XP. The issue is that seemingly randomly, when I draw with the pencil tool, the line starts to zigzag and squirm, even though my mouse/wacom tablet is moving steadily. It's little tiny squirms that go in all different random directions. It's pretty much impossible to draw anything when this is going on, and I usually have to do something else for a while and hope it's still not doing it when I come back.
Is is possible to draw something like [URL] using AS3? If yes, is it possible to do it without masks? I'm trying to create a circle from a vertical line, like analog clock 12 oclock, and then clockwise, in fluid motion, that line goes around 360 and makes a circle in an amount of sec, let's say in 6 sec.
Im designing an 'L-System' (Lindenmayer System) in flash which generates random shapes using lines working around rewrite rules. I've got so far and my program seems to be outputting the correct rewrite rules but I just can't seem to get it to draw according. I'll post my code below
What would be your recommendation for drawing shapes (rects, circles...) onto BitmapData, and how to effectively switch between colors.Draw shapes on BitmapData / getting its graphics context
Is there any way to get graphics context from BitmapData so I could easily paint shapes using graphics.draw...()?
I am copying a bunch of shapes from my stage to a set of bitmaps for filtering.
Is there a faster way to do this? Is there a way to copy everything over together from the stage rather than how I'm doing it by copying the shapes in my array one by one?[code]...
I'd like to learn how to create classes. For instance, I'd like to create a class that draws a custom shape. Like an arrow that is just a rectangle with a triangle on the end. I'd like to be able to do this sort of thing:
I'm trying to create a draw program in AS2 where I can draw shapes with my mouse inside a Scrollpane. Furthermore, I need to be able to drag and drop these objects within the Scrollpane. Currently, I'm doing the following:
1) I created an empty movie clip called main and I'm attaching it inside the Scrollpane called scroll
2) I draw the objects inside another empty movie clip called p0, p1, p2, etc. which I'm attaching inside main. When I drag the objects around, they can be dragged outside the boundaries of the Scrollpane. How can I prevent that from happening?
Basically I discovered its no problem at all to draw lines or shapes or whatever directly onto an mx:Text object using its graphics property (Text.graphics.lineTo, etc.). If just displaying that text, then any such drawn lines are displayed as well. However, if that Text object is used as a mask, then any drawn lines on that text object are merely ignored when the mask is rendered. And its hard for me to see the reason behind this, if anyone else is able to. I mean you're designating the Text object itself as the mask. It seems like any visual change to that text object should be part of the mask.
I can't post images yet: [URL]. Using Actionscript 3 I'm drawing multiple Shapes onto a MovieClip [top drawing]. The end result I need is the bottom drawing. I originally thought it would be simple to just merge the shapes and then find a way to draw a border around the end result but I can't seem to find any way of doing this. Is this possible or is there a better way of trying to do this?
I have this case, I'm trying to do a game for a school. I have a main .fla that have some frames labeled as:
1: "preload", just backgrounds, i will work in the preload later
2: "aux": just backgrounds, just the gotoAndStop("video2")
3: "intro": movie clip "mc_clip" is dragged to the stage, and just for this frame (y dedicated keyframe is created).
4: "level1": content generated with ActionScript, the game at level 1
5: "video1": there is video with FLVVideoPlayBack,and backgrounds.
6: "level2": there is nothing, except backgrounds.
7: "video2": there is nothing, except backgrounds.
As you can see, in "intro", i have a movie clip ( named as mc_intro, linkage: "mc_intro"). And in "Aux", in this frame i can put gotoAndStop to "jump" to the desired frame to skip the game testing. When i put gotoAndStop("video2") in "aux", i noticed that I'm hearing the voices and sounds of the movie clip mc_intro, and there is no present in "video 2". The sound is looping despite of the frames with stop() inside the movieclip. (I put stop() in many frames in mc_intro to test the stopping and the are ignored).
I am trying to work with this flash tutorial -[URL] So far it draws with a simple rounded line. I have been extending this application by making the drawing board bigger and other small things. I now want to be able to choose the line style. Currently it is rounded and I want to choose and draw with other shapes - square, forward slash (/), backward slash (). Is this possible? If so, could you explain how I could go about it?
I have a question about shapes (i mean the flash.display.Shape class). Is it possible to import Shapes directly from the library as Shapes and not as Sprites/MovieClips? Shapes are supposed to be faster than MovieClips/Sprites, right? So why is it only possible to import MCs/Sprites from the library? I understand that generally shapes could be created solely by actionscript, but in my case the shape comprises of many points and is curved - so it's quite infeasible.
Is there maybe some sort of plugin to generate code that would draw the desired shape from a drawn shape in CS4? And a last one: Are there any benchmarks out there for performance comparison between sprites/mcs/shapes? How much performance do i loose by using a sprite instead of a shape?
The reason I don't like the brush tool is because the brush line is not consistent in its thickness. For example, if I draw a curve with the brush tool, some of the line will be thicker than other parts of the line. The pencil tool has the same thickness all around, but unfortunately it is very thin.
is there a way to use the pencil tool (if u forgot what it exactly did, check the included image below) through actionscript, i searched the API for quite some time but couldn't it.
I'd like to use the mouse to sketch a basic curve which will then be 'auto-smoothed' when the mouse is released. This is exactly how the Flash pencil tool already behaves.
My question is: Is it possible to access this functionality with actionscript without having to reinvent the wheel?
When I draw something, the line doesn't show at all - I get a box outlining the area that I created the drawing in, but I can't see anything in the box itself. I tried previewing (View>Preview mode), but that showed as a hairline and I wasn't able select it to DO anything to it
When I am drawing with a pencil, the line looks like the shape I want to draw, but when I stop drawing, the shape reshapes to another shape whick looks like circles and rectangles = it does not look like the shape I wanted to draw. What is the problem?
I've a pencil on my stage. I would like to make an animation that the pencil writes. now the problem is i've to move the pencil along to the text and text should be visible according to the movement of pencil. I believe some readymade class would be available.
I have been working for some time trying to remake Paint in flash. Question is: how to simulate a pencil drawing, my idea so far is to draw lines one after another.
i cant get the precise cursor to work on the pencil tool. I prefer to use the pencil tool when drawing things. I usually use the brush tool for painting in the lines , or sketching something out. I did went to preferences, but even so, the pencil still doesnt turn into a precise cursor.How do i turn the pencil tool into a precise cursor?
if you open microsoft paint and use the pencil tool you'll tell its not like the brush tool in a vector based program. vector based tools keep drawing the object until you let go of the mouse. but the pencil tool on the other hand seems like the canvas is divided up into a grid and where ever the mouse clips it knows what grid it belongs to and it draws the pixel in that grid. thats what it feels like. my question is say i open up a new as3 file, how would i make something like that?
taking into account of course i'd be adding a zoom function were you'll be able to zoom in up to 8 times. but thats something i assume i'd worry about later, as i should be able to do that no problem.
bit of a noob at flash, so I've been having a bit of a difficulty in using the pencil/brush tool in drawing an animation. I set a keyframe, and paint a yellow stroke. Then i continue onto the next key. I then go back to the first keyframe, and want to paint a black stroke over part of the yellow stroke i made earlier.
after selecting this first frame (making the layer active), I go to change the stroke color of the brush to black but find that it now changes my yellow stroke (which I want to keep yellow) to black. I see that in selecting the frame, by default whatever strokes were made on this frame are also selected (which I don't want). So I'd like to know how do I avoid altering my previous stroke and still put a different colored stroke overlapping it on the same frame?
also is it possible to append a brush/pencil stroke to an old brush/pencil stroke?