Sketch Drawing In Flash?
Feb 3, 2010I am very new to flash and only know the basics, but would like to put together a flash animation similar to this website [url]...
View 3 RepliesI am very new to flash and only know the basics, but would like to put together a flash animation similar to this website [url]...
View 3 RepliesI am brand new to all Adobe applications but have the CS5 Master Suite and have been taking many courses through Lynda.com for months. I wish to learn how to make a small video of an object being sketched. That is use a drawing tablet and stylus (whatever they are called...I have NO idea) and trace over a photo. When finished I wish to have the video of the slowly created tracing of the object sped up and when complete fade away and the actual photograph of the object traced overlap fade into view. In other words use this as a transition technique for presenting a photograph of an object rather then just have it "pop" onto the screen. My questions are: (1) What special drawing pad and stylus are required (if any....can I do it with just the mouse?) (2) Is Flash Professional the program one would use to make such a video? If not which Adobe program is best suited to this task, and (3) Is there a NAME to this "technique" in whatever program was given in answer to question two so I know where to begin and/or look for a tutorial on how to accomplish this technique?
View 2 RepliesBy the way i want to make a visualization about a math process to show partial function graph.
I think i can make a scene which in 1000x1000 pixels. I'll start from top of scene and when i press a button i'll move camera to second section which i want to do sketch. I want to make a sketchpad which can draw in a 2 part movieclip. First part is -X section of XY Axis Graph. Second part is +X section of XY Axis Graph. I'll put image of XY Axis Graph to -X and +X section of XY Axis Graph. So it'll be seem like one part. And i'll draw to -X section. After that i'll skip to second sketchpad with camera. And i'll make same thing. But for now i'll draw to +X. And when i press conclusion button camera will skip to bottom of scene and move -X of figure1 and +X of figure2 to bottom. So i can see figure1's -X section and figure2's +X section as merged in bottom. So it'll show to me partial function graph.
But problem is sketchpad is drawing to _root. So i'm unable to move sketch or shapes on XY Axis Graph. But if i can draw that to movie clip i can move it like an object with drawing and merge it like i want.
So i want to make a sketchpad which make drawing in limits of movieclip.
how i can do it ? Also i'm using following code:
Code:
import mx.controls.Loader;
// 1. SETTING THINGS
// ----------------
_root.createEmptyMovieClip("line",1);
[Code]....
I'm trying to convert a processing sketch to a flash as3 file, and I'm getting hung up on two of processing's commands - pushMatrix() and popMatrix() - how to convert these in flash?
Essentially I just need to store the matrix of lines I've drawn so far and draw a new line, and this gets done recursively. Here's my code:
var theta;
var xpos:Number = 0;
addEventListener(Event.ENTER_FRAME,draw)
function draw(e:Event) {
[Code].....
I want to create an paint application or sketch book in flash. But finally the design should get saved for perticular user. need to store it in database.
Can i send Movieclip to PHP? Will i able to retrive that movieclip again to show what user has saved.
I have a simple drawing pad that works, but I want to allow the user to draw only in a certain area (only within the box).
My current code is:
this.createEmptyMovieClip("your_lines", 100);
var Drawing_in_progress:Boolean = false;
//sets up a mouse listener event
[Code].....
I'm updating a sketch pad application for someone and I'm running into trouble creating a highlighter effect. What I'm trying to do is avoid having the highlighter opacity change when lines are drawn on top of each other. First I tried setting the line opacity to 50%. As expected, the opacity increases where the lines cross. So far, other sketch pad FLAs I've found have the same problem. Then I tried setting the opacity of the movie clip I'm drawing into to 50%, and drew lines at 100%. Surprisingly, the result is the same as above. Finally, I decided to just draw into a mask to reveal a 50% yellow mc below. But of course lines don't work in masks, so that didn't work either. I suppose I could draw a bunch of circles between points to create a line but that doesn't seem like it would be the best solution.
View 1 RepliesI am trying to create a image downloader. I am having some problems with converting the MC...
Code:
stop();
if (isset($GLOBALS["HTTP_RAW_POST_DATA"])) {
// get bytearray
$jpg = $GLOBALS["HTTP_RAW_POST_DATA"];
// add headers for download dialog-box
[Code] .....
I get this error when I run the file:
ArgumentError: Error #2015: Invalid BitmapData.
at flash.display::BitmapData()
at DwnImg_fla::MainTimeline/frame1()
Here is the tutorial link: [URL]
I am working a lot with adobe recently but its the first time for flash. i have been searching the net for the past hours but didnt find whatwhat i need is a small animation that records the pen movements i make as a visible path. I want to sketch a logo for a company and want the the logo to look like its being drawn on the spot for the presentation.all i could come up with is make a dot, next frame next dot next frame next dot and so on. but that does not only look like crap it also doesnt seem like the brightest choice to me.
View 2 Repliesi've tried to simulate a pencil tool, for drawing above a imagem, but the drawing is below the picture. How fix it?
[Code]....
Basically I've got a reasonably complex drawing object in a fla and I want to reproduce it in a class definition using the drawing api. However obviously this is a tedious task, so is there some trick or automated method of doing this?
Last time I needed to do this it was a drawing of an arrow and I ended up writing down x,y,width,height values for everything but this one has curves in it which I don't have experience with drawing anyway.
I'm trying to do a little comic comedy type video in Flash. I've done an outline sketch with the pen tool of my first character, now I want to color it BUT I want to keep the colors and the outline sketch separated on two different layers. Is there a way I can select the path (outline) on layer A and then colorize it with the bucket tool on layer B? The problem I'm having is that every object I select it automatically jumps to that corresponding layer.
One reason why I want to do it this way is I still want to continue working freely on the outline sketch since it's not fully finished, so that I just can blend the colors out and keep working on the outline, at the same time I want to color it while I go just to see where it's going and to make sure that I'm not wasting my time unnecessarily with trying to do a outline just to find out that it won't work out at the end.
how to do a comic type animation, how to create the characters, how to make them move and talk? It can be a free or paid resource.
I cannot get this to work. Without the "var drawing", "var drawing being true or false" and the "if statement", it works fine. But I need to add the "var drawing" so that you can only draw if you turn it on by pressing the "draw_btn" button. Note, I do not get an error, the script "apparently" contains no errors. Here is the code:
ActionScript Code:
var drawing = false
_root.createEmptyMovieClip("myLine", 0);
[Code].....
I've created a drawing tool which allows the user to draw on the canvas, the problem is that if I try to draw over a movieclip nothing happens. Is there a way I can allow for the user to draw over movieclips? For example if I had a background of paper?
Here's the code I'm using for it:
// This code is for drawing the lines on the page
//1.
var drawingLine:MovieClip = new MovieClip();
addChildAt(drawingLine,0);
[code]....
I need to draw on stage about 40,000 4x4 squares each a different color. The color is determined by an xml file. I have this working in as2 and have converted it to as3 the problem is the amount of time it takes to draw is causing cs4 to time out. I have extended the script time out to 60 seconds. In cs3 as2 it would draw the squares in about 15 seconds. I was hoping as3 cs4 would improve performance but seems to be the opposite. I have tried several methods such as adding children and various drawing variations. the bellow seems to work the best, but is still causing flash to crash.
ActionScript Code:
import flash.display.DisplayObject;
import flash.display.Graphics;
import flash.display.Shape;
[Code]...
how to draw various things, cartoons in Flash.
View 2 RepliesI'm in the process in making a little drawing board using flash Drawing API. Right now i have the lines drawn by using lineTo() but i was wondering if there is a way to erase portions of the line. I know i could just write over it with white but was thinking of a better way. maybe by change the alpha or using a mask something like that. Just wanted to know if anyone came across this before or have a theory that can give me some insight to solve this problem..
View 1 RepliesI have a small flash that I'd like to expand upon, and basically I'm wondering if it's possible to Make a button that lets you erase things on click, rather than clearing the screen.Draw lines of different colours/thicknessHave the Flash output a code for the drawing (similar to Punk-o-Matic 1/2) and be able to put it into the Flash in a text form to have it output the picture. (Thus allowing sharing of pictures).Here's the code.
// 1. SETTING THINGS_root.createEmptyMovieClip("line",1);
// 2. EVENTS IN _ROOT:_root.onMouseDown = function(){ line.moveTo(_xmouse,_ymouse); line.lineStyle(2,0x000000,100); this.onMouseMove = function(){ line.lineTo(_xmouse,_ymouse); updateAfterEvent(); }}_root.onMouseUp = function(){ this.onMouseMove = null;}
Also see included .fla. It's very small as all it features is a default stage that you can draw on, with an Erase button that clears the screen.
I've come across a bug in flash drawing api where if you draw many (24) light opacity layers things get blotched especially if you use bitmap.draw(). I have read somewhere that this is how the draw method has been coded but I don't see any work arounds.
View 24 RepliesWhat's the easiest way to draw a hex grid algorithmically? How should I present them in data?
For example, in a square grid, I could just save x-y coordinates..
I'm creating a flash game which uses time intervals with setInterval and sometimes does heavy calculations. The problem is that on slower machines these calculations can't keep up with the framerate and the movie slows down BUT the timers are unaffected what makes them asynchronous to the movie. Looking back, it was a bad idea to use timers but I can't change it back now. So...is there a way to skip drawing frames?
View 2 RepliesThe issue I am having is how to tackle forming a logo using circles. I have done one letter manually, however it would take forever to do this with every single letter, and so I am asking here if anyone knew of a faster method. Requirements:
- Has to fill non-circular letters(i.e. does not have to be precise, but look like it has edges)
- Circles have to animate in, therefore they need to have drop shadow and seem like they are landing in place
Okay, there are a few things I want to know how to draw in one-point perspective: a toilet, a shower, a bath; basically I want to know how to draw everything in a bathroom.
View 0 RepliesWhy flash slows down while drawing API(?) Is there a way to avoid it from slowing down. Heres just a random script of what i mean.[code]...
View 3 Repliesjust wondering if anyone has ever had any luck drawing spirals in flash? ive had a stab at it a few times, but it always results in a pretty 'boring' looking spiral... this is the code i've been workin on:
Code:
my._x = Math.sin( this.currentTime ) * this.spiralRingSpacing
my._y = Math.cos( this.currentTime ) * this.spiralRingSpacing
where this.currentTime = an incrementer
and this.spiralRingSpacing = a integer
I was hoping to get one that had more control. with a formula I could use to change the 'weight' of the inside and outside of the spiral..
How do you draw a variable in simple font? How do you control where it drawn?
View 4 RepliesI'm trying to design an application where you can draw lines. This is my code.
Code:
onMouseDown = function (){
original_x = _root._xmouse
original_y = _root._ymouse
[Code].....
value_obtained is true when you click the mouse, and is made false when the mouse is released. original_x and original_y are the coordinates for the point of the first click.
How can I make it so that each created line stays on the screen and is not remade?
This thread is designed to help collect discussion on the Drawing Shapes in Flash tutorial.
View 1 Repliesexport a drawing made in flash as a transparent png in actionscript I know you can do it as a jpg with a white background but can you export the transparency?
View 3 RepliesI created a simple drawing app using Action Script 3.0.My son asked if I could set it up so a drawing could be sent as an email. My website use a dynamic text in order to do that and I annot find any references that would help me out.Right now I am using Sprites and Movie Clips.
View 3 Replies