IDE :: CS5 Tapered Painting - Convert The Lines
Jul 9, 2011
I've recently decided to trace over an animation from a cartoon as a reference for my own animation that I am making. Now, my hang up is that I use the line tool for the tracing, and then convert the lines to paint so that I can shape them better to match how the characters from the show look. Where the legs connect to the body the line get gradually thinner from where it started.
I don't have a tablet and trying to do it with the mouse leaves too many lumps. The results are not acceptable, nor efficient. In all, I have about forty frames to optimize my traced lines, to the good looking tapered paint. The show was done in flash, so I know it must be possible in CS5. Aside from the subselection tool (Which horribly warps my lines and is extremely tedious for a frame by frame animation), does anybody know a more efficient way to do this?
View 1 Replies
Similar Posts:
Sep 18, 2010
convert a short as2 script (20 lines) to as3 for me... ?
View 0 Replies
Jul 23, 2009
How to create a shortcut for "Convert Lines to Fills" feature? I 've tried using keyboard shortcuts menu but without success. I 'm using Flash CS3 Professional.
View 4 Replies
Jul 19, 2009
How to create a shortcut for "Convert Lines to Fills" feature? I 've tried using keyboard shortcuts menu but without success.
View 3 Replies
Aug 17, 2011
I have been working on a map viewer based blitting technique. As part of the map I need to draw approximately 50000 lines and performance is currently really poor.
Code: Select allvar movie:Shape = new Shape();
for( ... )
{
movie.graphics.clear();[code].....
View 2 Replies
Jun 20, 2011
var cr:CellRenderer = dgv.getCellRendererAt(0,0) as CellRenderer;
cr.setStyle("upSkin", new CustomCellBackground());
where dgv is DataGrid instance, CustomCellBackground - is my MovieClip which is simple rectangle filled with some color.
View 7 Replies
Nov 9, 2011
I am dynamically creating moviclips.. when I create a movieclip(mc1) this movieclip present a wall(for painting).. On this wall I create several windows(holes) which a present as mask for a wall, so that only the color of the wall is viewed, but the window is transparent..
when I am done with this I have for example 3 walls(mc1, mc2, mc3) with masks included..now on a button action I want to enable each movie clip for painting->painting is done so that you pick a color in a palllete and then click the wall you want to paint.. I do this with this code:
btn_color.onRelease = function(){
for(i=1; i<=stMC; i++) //stMC is nubmer of created mc's
{
[code]....
The code works great for the last movieclip created.. but when painting others it paints the entire wall in chosen color, so it colors the transparent windows(were set as masks as well)..
View 2 Replies
Jan 12, 2011
i have a problem with functions, i'm creating a painting app in flash as3. i want to draw two different style a pen and rectangle.
When i draw pen style in first frame there is no problem, but when i click rectangle style in second frame it is drawing with both style. How can i stop or kill other function?
How do I make both of the not drawing. And How can i undo my last action in drawing?
Fla is in the attachement (CS4 version)
in first frame drawing pen;
Code: Select allvar clip : Shape = new Shape();
addChild (clip);
stage.addEventListener(MouseEvent.MOUSE_DOWN, _handleMouseEvent);
stage.addEventListener(MouseEvent.MOUSE_UP, _handleMouseEvent);
[Code]....
View 1 Replies
Jun 18, 2004
I`trying to create an MC that when browsed two people on two different terminals (2 IPs, on two different continents) can actually draw on the same canvas...
View 8 Replies
Jun 8, 2011
I'm developing a word game for mobile and I'm trying to solve a bug:I have many squares with letters and when the user mouses down (or touches) a letter, the app starts to put together a word. Every letter that is moused over is added to the word and I have a textfield that shows the current word the user is trying to put together.Every letter added to the word (text.change event) I check if this is a word that is available in my dictionary (array of words). If this word is correct and exists, I want to paint the color of the textfield showing the word so the user would know that this is a valid word, even if he doesn't know the word.
My problem is that this code runs and traces correct and in the right moment (the trace "word exists" is being called when I add a letter that makes the word valid. But the painting of the word just happens when the text changes again. This causes the app to make the word blue after adding or removing a letter from a "valid" word, but in this case I want it to happen immediately when the user reaches a valid word.Can the problem be happening because the mouse is down?
Code:
if (dict.wordExists(word))
{
[code]......
View 1 Replies
Nov 15, 2009
My code is on the main timeline.I call a function loop to draw lines between them.The lines are drawing between the right x, y values BUT between those values on the main stage, not those values within the kite.For example, dot1_mc is at x100, y0 inside kite. the line that should go from its center, draws from stage x100, 0.How do I draw the lines inside kite so that they draw between the dots?Heres my code that draws the linesPHP Code:
function loop():void{ lineDrawing.graphics.clear(); var a:Point = new Point(kite_mc.dot1_mc.x, kite_mc.dot1_mc.y); var b:Point = new Point(kite_mc.dot2_mc.x, kite_mc.dot2_mc.y); var c:Point = new
[code].....
View 4 Replies
Dec 1, 2010
I'm currently working on a few small paint programs designed to emulate certain famous painters. I'm using a pretty basic AS2 painting program and simply manipulating it to my needs, but have run into a few problems that trial and error have not been able to fix.For two of the programs I would like the up and down arrows of the keyboard to change the size of the brush, which is currently set by the variable ranWidth (one of the other programs uses random widths for the brush).For one of the programs, the left and right arrows will increase or decrease the paint opacity.One of the programs will be a pointillism style drawing program, so instead of drawing a line as it does currently, I'm trying to have it draw a series of dots, without having to click down every time.Third, my color selection right now changes randomly each time the user clicks down. This works fine for some of the programs, but others it really is neccesary to choose a color. I've tried creating buttons with on release functions that would change the color variable but havn't got them to work properly.I know its a bit of a list but I think most of the coding is fairly simple, I'm just new to actionscript and trying to learn the ropes. I've used keys to change items before but am not having any luck.Here is my basic script for one of the painting programs. This one simply draws lines in different colors at random sizes.[code]
View 10 Replies
Jan 24, 2009
If I create a simple Textfield and place it on the stage, it looks good.
If I take the same Textfield, and paint it into a BitmapData (first putting the Textfield into a Sprite so I can paint it), the resulting BitmapData is not the same, pixel for pixel, as the original textfield on the stage.
refer to the attached image for a zoomed in view on the differences in the aliasing.
What can I do to keep the two pixel-for-pixel identical?
Code:
private static function doTest( stg:Stage ):void
{
var tf:TextField = new TextField();
tf.text = "TESTING";
[Code].....
View 1 Replies
Jun 23, 2010
I'm doing a tutorial from Adobe Flash CS4 classroom in a book. They're suggesting the following: "create buttons that allow users to switch between painting ellipses and painting squares". I've created the class files for the cirlcle and the square and I've set two hot keys to switch between painting circles and rectangles(it does not work) Now I'm trying to create the buttons.
package {
import flash.display.MovieClip;
public class Rect extends MovieClip {
public function Rect(w:Number = 40,h:Number = 40, color:Number = 0xff0000) {
graphics.beginFill(color);
[Code] .....
View 1 Replies
Jan 12, 2011
i have a problem with functions, i'm creating a painting app in flash as3. i want to draw two different style a pen and rectangle.
When i draw pen style in first frame there is no problem, but when i click rectangle style in second frame it is drawing with both style. How can i stop or kill other function?
How do I make both of the not drawing. And How can i undo my last action in drawing?
Fla is in the attachement (CS4 version)
in first frame drawing pen;
Code:
var clip : Shape = new Shape();
addChild (clip);
stage.addEventListener(MouseEvent.MOUSE_DOWN, _handleMouseEvent);
[Code]....
View 5 Replies
Oct 5, 2011
I am trying to implement a house painting application. I've done it so far that I can draw a shape(creates a movie clip) and fill it with any color. But now I don't know how to "make holes"/transparent areas into a certain movie clip for windows or anything that should not be colored so taht the backgorund will be displayed. [URL]
View 5 Replies
Mar 5, 2010
I'm new ActionScript, and programming in general, however I've been doing a lot of tutorials and reading my Flash CS4 Bible, and cruising the forums like crazy trying to figure out how to go about scripting for my project.
Situation: I need to make an interactive flash movie that explains a painting.when you rollover different sections of the painting, I would like the rest of the painting to dim, and for that section to grow. if you are to roll out, it goes back to the first frame and the same thing happens for all of the sections.
If you are to click on any given section, there will be a voiceover, and possibly a little animation that goes along with it. if you either watch the whole thing or click anywhere on the painting, it should go back to frame.I've thought of a few ways to do it, but can't seem to get the scripting right.for now, I'm only worried about the first part because the rest is going to be similar.Frame 1 I have the painting and an invisible button over a section. frames 2-7 is that section growing and the rest of the painting getting dim there is a stop(); on frames 1 and 7
[Code]...
View 5 Replies
Jan 7, 2010
I am making a flash website and I am implementing a fluid layout. In the website I made a drawing program that is supposed to move along with the rest of the elements of the website when the window is resized. Now the problem is not the drawing program itself, ive got that working very well, the problem is when the canvas movieClip onto which the painting is being done is moved when the window is resized, the movie clip does not stay on centre, and the drawing is displaced outside the canvas movieClip and no longer happens on the mouse X and Y.For the sake of simplicity I made a simplified version of the drawing program with the fluid layout code and drawing code. No point in going through 200 lines of code when the problem lies within 10 lines of code.[code]The pink box is the canvas the user is able to draw on. The grey box is used to test the fluid layout code and to give coordinates for the pink box. When the file first loads both the pink and grey boxes are side by side, during the resize event they should stay side by side, however they do not.
View 1 Replies
Feb 8, 2011
I am trying to create a painting application that allows you to export as a jpeg. I have the code for the jpeg encoder, and for the color changing--but I am having trouble combining the two...
This is the jpeg encoder sketching app:
ActionScript Code:
import flash.display.Sprite;
import flash.events.MouseEvent;
import com.adobe.images.JPGEncoder;
[Code]....
It would also be great to be able to clear the canvas_mc by clicking a button..
View 7 Replies
Oct 14, 2009
I have a task: I need to place about 100 sprites on one canvas (with prepared grid on it). I need to place them as invisible (circles) stones, on the board, and make visible only on mouseover. The problem I come across is following, I can't place those objects accurately into the nodes on the grid.
[Code]...
View 2 Replies
Jul 21, 2010
I am trying to create a mindmap where the user can drag points about the screen. I have gotten as far as drawing the line via actionscript, and drag+drop the points (defined as movie clips on stage). This is the existing script - I don't know how to get the lines to follow the points. Something to do with ENTER_FRAME or updateAfterEvent?
var line:MovieClip = new MovieClip();
line.graphics.lineStyle(1,1);
line.graphics.moveTo(ptOne.x,ptOne.y);
[code]....
View 1 Replies
Sep 2, 2009
I have two lines. One is straight and one is curved. Both were created with the Flash Graphics interface. How would I compare the different Y value for the curved line for any given X. In other words, how do I find a point on curve if I used the CurveTo method.
View 2 Replies
Jun 23, 2009
I have a function ( basically its the click on a reset buttons ) that sets back quite a loooooot of variables and text boxes. But after ( I think 200 lines ) , actionscript simply stops with that particular function and doesnt even give me an error.So it looks like there is a lines per function limit or something like that.I also tried it with an external .as but its the same.Creating functions for all these commands didnt work either.The only thing I can do is move a few lines up so that they get processed earlier.... ( but the last few still don't work )I even tried to make a function with 300 lines of myTextField.text = "hello"and a line: myTextField.text = "how are you" at the endDidnt work... it stayed at hello.
View 1 Replies
Mar 10, 2012
I am wondering about making lines with a corner radius. It seems that the smaller the scale, the corners sort of distort, and end up looking jaggy. Maybe its just the way it is, but is there any remedy? I tried shifting the registration points, etc, but still the only way it looks smooth is when enlarged.
View 2 Replies
Dec 2, 2009
I'm quiet new to Flash and I'm trying to make some lines grow. I have lines that cross each other and how to get this to work. I want the lines to start with nothing and then grow. [URL]
View 3 Replies
Nov 7, 2010
I use cs4 flash 9 I use a css stylesheet I set margins with it and they work fine. I read that leading is supported byt when I try it it doesn't work. Could someone show ne a simple stylesheet that implements leading?
View 4 Replies
Feb 16, 2010
I'm stumbling my way through designing my first Flex app, using Flex Builder 4 Beta 2. I'm trying to use a ComboBox, but they always seem to have lines around it and I can't figure out how to get rid of them. The ComboBox looks like this: [URL] All I did was drag the ComboBox from the Controls section in the Design section of the UI onto the screen. I haven't changed any settings, no special css, just used the default ComboBox and this is what I get.
View 1 Replies
Sep 11, 2010
Is there a tool that calculates various LOC statistics? It would have to support popular languages like C++, C#, Python, PHP, JavaScript, ActionScript, etc and interpret code accordingly.
An example of the statistics I'm looking for:
350 Physical lines of code -- including braces
200 Logical lines of code -- actual code
190 Comment lines
68 Variables
28 Methods/Functions
5 Classes
3 Namespaces
View 3 Replies
Jan 27, 2009
just going through my code and I want to reduce it where possible. is there a way to combine these two lines into one?
ActionScript Code:
this.mainClip_mc.item0.percentage_txt.setTextFormat(perTextFormat);
this.mainClip_mc.item1.percentage_txt.setTextFormat(perTextFormat);
View 3 Replies
Sep 25, 2009
I am getting this message, but I am not sure how to read lines 2, 3, and 4.[code]
View 3 Replies