ActionScript 3.0 :: A Drip Effect For Drawing Surface

Sep 2, 2010

I would love to get some help or advice on how to create an effect in a drawing application. I want to build a drawing application, which is not that difficult. I've found several resources on these type of applications. What I want to do is "merge" 2 examples that I've found. This drawing application makes sense to me and I feel I can modify it to my liking. (sorry in advance I cant post links)

[Code]....

View 0 Replies


Similar Posts:


ActionScript 2.0 :: Any Way To Add Reflective Surface Effect?

Aug 23, 2007

I am working on a firework move look's coolfire works are dynamic. Is there a way I could add a type of reflective surface kind of like water to show he reflection?

View 4 Replies

ActionScript 2.0 :: Effect Using The Drawing Api

Apr 18, 2004

[URL] This kind of `pulled down/up` effect, as soon as it loads the gray background kinda pulls/folds down this one also curves! also appears on some of the content boxes in the site, like a small strip at the bottom of the images when you click on partnership, adaptation and security.

View 5 Replies

ActionScript 2.0 :: Effect Using Drawing Api

Apr 18, 2004

url..This kind of `pulled down/up` effect, as soon as it loads the gray background kinda pulls/folds down this one also curves!I like this effect (though over used on the web realy, I think) any ideas/tips/tutorials on achiving this effect?Can you see what I mean ? also appears on some of the content boxes in the site, like a small strip at the bottom of the images when you click on partnership, adaptation and security.

View 5 Replies

ActionScript 3.0 :: Line Drawing Effect?

Apr 16, 2009

What I'd like is the ability to draw a line with the drawing tools in Flash, and have that line appear onscreen as if it were being drawn. I don't think there's a way to do that with the animation tools (I'd like to give it a go, but I have no idea, once I've drawn a line and converted it into a symbol, how I could access the anchor points and whatnot of said line to then do some funky stuff with curveTo, or whatever better solution is out there...

View 2 Replies

ActionScript 3.0 :: Super Quick Drawing Effect?

Apr 27, 2011

I want to end up with the following effect. Bitmap pencil quickly moves accross the canvas diagonally and reveals an image. The image itself is drawing so I kinda want to make the illusion that the pencil draws whatever is on it. I don't want the pencil to follow the actual line in the image just to ask like a mask and quickly reveal the picture. So I was wondering if there is any cleverer way to achieve this, instead of animating everything manually

View 1 Replies

Actionscript 3 :: Drawing - Recreate Such Effect Using Pixel Bender?

Jan 30, 2011

Effect is generally in mostly vertical with slight horizontal offsets looks like: often used by paintors in sky painting like here

View 1 Replies

AS3 :: Drawing TextField Into BitmapData Get A Bad Effect When Parent Get Moved?

Mar 17, 2011

having a problem while drawing a complex combinations of TextFields into BitmapData in as3,The problem happens when i change the parent's (x,y) or (width, height) and the drawn object got a bad effect like left blur.[code]

View 3 Replies

ActionScript 2.0 :: Create Drawing Effect In Flash That Many Of Us Have Seen On Various Websites.

Jan 18, 2007

I want to create the drawing effect in Flash that many of us have seen on various websites.URL...I have an object already made in Fireworks. It's just a simple rounded rectangle with a 10 pixel stroke. I'm looking to draw the mask which in turn will give the impression to the user that the object is being drawn (because masks work in reverse).Right now, I have a version already done with a frame-by-frame slow erase of the mask. When played, it makes it look like the rectangle is being drawn. The problem is that it's just too shaky and jumpy. I need a more fluid animation which, like most things, can be done much better in ActionScript. I saw the Drawing API tutorial on Kirupa.com, but it doesn't show how to animate it and I definitely don't know enough AS to do it myself.

View 7 Replies

ActionScript 3.0 :: Place Bitmapdata Drawing Over Content / Get Desired Effect

Apr 16, 2009

i am creating a very simple particle system. My only issue is trying to create a blurry trail effect on the particles in motion. I started by creating a large bitmap container, and applying a colormatrix filter and a blur filter . It seems to do the trick , but the issue now, is i have to make this container cover the stage, which has a two unwanted a effects:

-it's slower

-it covers all the content beneath. Perhaps my approach to creating trails is wrong?

i can post the whole class, but before i litter this post with long lines of code, is there a way to place a bitmapdata drawing over content and still get the desired effect. NOTE, if make transparency false in the bmdata, i loose the effect

View 2 Replies

Flex :: Playbook AIR SDK Images On Surface

Jul 21, 2011

I am trying to write a Playbook app using the AIR SDK, I need a surface of some kind that I can load a large image onto, then subsequently place some smaller images on top of and add the whole lot to a ScrollPane so I can pan it around the screen. I have tried by adding the image to a sprite and displaying that in a group in the application but the image does not show up. What is the correct surface kind I should be using here and how should I be loading the images? (currently using "Embed" and loading the image into a BitmapAsset.)

var scroll:ScrollPane = new ScrollPane();
scroll.setScrollContent(image);
scroll.update();
scroll.graphics.beginBitmapFill(icon.bitmapData);
scroll.graphics.drawRect(100,100,56,56);
scroll.graphics.endFill();
scroll.update();

This code causes a non-moving icon to be drawn behind the scrollContent, I want to add something on top of the scroll content that moves with it.

View 2 Replies

ActionScript 3.0 :: MovieClip Co-ordinates And Surface?

Apr 22, 2010

There is something i do not understand, i'm making a Tetris like game and i want borders (limits) but when put an height and width to my MovieClip nothing appears.

Code:
public class Thugtris_V2 extends MovieClip
{
var ts:ThugtrisShapes;//ShapeManager.GetInstance().CreateShape(ThugtrisShapes.RLSHAPE);[code]....

I have second problem, i check my coordinates of my dropping shapes and my shape disapeared from the screen,fell completely down, and it's last coordinates were : pos = (x=-6, y=371).My bottom is suppose to be at 440? The entire screen does not "measure" 400 pixels? How can u get a negative coordinate,are'nt the coordinates suppose to be like texture coordinates, only positive and (0,0) is at the top left corner?How do u measure the pixels limits of the top DisplayObject? How are the coordinates actually "setuped"? Like cartesian but only the upper part?

View 5 Replies

ActionScript 2.0 :: Actor On Rotating Surface?

Sep 23, 2006

I'm working on a game, and I'm a bit stuck on something that I think I'm really close to solving.

I have an actor, which I can move around on a platform (Top-down view)

The platform rotates, and I want the actor to receive the x- and y acceleration, so that it appears to be on top of the platform, and thus rotate together with it. I don't want the actor to rotate 'inside' the platform, because of some other constraints

View 1 Replies

ActionScript 3.0 :: 3D Charting In Flex Surface?

Mar 28, 2010

Do you have any recommendation for a free 3D charting library in Flex. To be more precise, I only need to draw surface (for now). Basically, I just need a chart that displays three axes (one should be timeline, and two should be linear axises) and the surface.

From what I have seen so far, two most popular free Flesh 3D libraries are Papervision3D and Away3D. Also, I've found one IBM library - ILOG Elixir that looks really nice, but it's proprietary (although, I haven't seen any surface examples for Elixir neither).

From what I have seen, Papervision3D and Away3D should do much more then 3D charting, but I haven't seen any examples on how to draw surfaces in any of them (except this line chart in 3D: [URL]..So, if anyone has a link to a documentation or some examples that would be great. Also, I'm interested to hear your opinion and recommendations on this topic.

View 3 Replies

ActionScript 3.0 :: Rotating Enemies Along A Curved Surface?

Apr 14, 2009

This one concept has been bugging me for days now and I can't seem to solve it. You see, I'm trying to rotate my enemies along an uneven surface. So far, they follow along it perfectly, using my hitTestPoint collision checks.But I don't know how to rotate the collision points and thus rotate the movieclip along the curve so it remains clipped to the ground like in Fancy Pants Adventure 2 or a tanks game.Here is what it looks like right now

View 3 Replies

ActionScript 2.0 :: Mouse Pointer Reflection On Surface

Mar 20, 2004

I'm working on a new site: [URL]. However, I've got some problems with my reflection of the mouse-pointer. The problem is that I don't know how to create the fake 3D effect, because now when you move your mouse over "Identity" the reflection is above the real mouse. I was thinking to put a mask, so the reflection cannot go above the real mouse, but then there is no reflection.

View 14 Replies

ActionScript 2.0 :: Surface Collision - The Block Go Through The Walls

Oct 12, 2004

I make this simple system to simulate a colision of a block in "walls" and bounce like a pong ball. To use drag the orange square and release to start the movement. But i have a problem, sometimes the colision not happen and the block go through the walls, i try less the time of setInterval that verify the colisions but not solve my problem. colision system -> [URL]

View 3 Replies

ActionScript 3.0 :: Determine The Surface Area Of One MC Exceeded The Others

May 7, 2010

find weather one movieclips area on stage is equal or more than the other.. I mean, ok here it goes, I have some movieclips on stage, circle shaped exactly speaking. Any of these Mcs.onMouseDown event adds another circle to the stage which is a very small circle , and as long as the mousedown event continues it grows in size from the center.The idea is to fill the onstage circle mc with exactly he same size circle.This i could do if the mouse had been clicked exactly in the center of the onstage circle by comparing the width and height of both (I guess havent started doing it yet).

I want to check if the scaling circle has exceeded the bounds of the onstage circle which is bound to happen more often as the user can mostly never point to the exact center of the onStage circle and as a result the circle is going to go out of the boundaries of the onstage one. I have been racking my brains and me thinks that by creating a bitmap data of the onstage circle i could maybe find out when the being scaled circle bitmap stopped overlapping the onStage one. But i have no idea on how to do this ! It is jus something that came to mind from some example i saw somewhere but i jus cannot find it now .

View 2 Replies

ActionScript 3.0 :: Map / Surface Separating From 3D Ball (Globe)

Dec 16, 2010

I'm about to make an animation where a whole world map separates from globe/ball. Kind of coating/jacket that opens from 3d ball to plain 2d surface.

View 1 Replies

ActionScript 2.0 :: Make A Rounded Surface Wall / Barrier?

Jan 9, 2009

I am currently working on a game and I am stuck. I do not know how to make a rounded surface that will act as a wall/barrier. It is pretty much a semi-circle. I know you can make a circle act as a barrier but I would need to use the perimeter of the circle. Also is there a way you can make an actual image a barrier? I am new at this but I know from reading up that making a rounded wall is pretty tough. I am going to use this wall to make a ball bounce or "roll" around it. Below is a picture of what I am trying to do. The black dot is the ball.

View 3 Replies

Flash :: Away3d To Render A Surface From Given Array Of 3d Points?

Dec 14, 2010

So I have some 3d points generator that gives points like

{1,1,1}
{1,2,3}
{1,3,3}

[code].....

View 1 Replies

ActionScript 2.0 :: Character Movement Though Rotating Round Surface?

Feb 10, 2008

i want a character to move on a globe. the movement of the character is shown though not by shifting the positions of the caharcter but by the rotation of the surface of the globe. buttons are used to move leftward and rightward.

Also, there are three layers of the globe to show depth. how would i script it so that the layers of the globe rotate at different speed?

i've uploaded a zipped of a fla file.

View 3 Replies

ActionScript 3.0 :: Dynamically Displaying Text On A Cylinder Surface?

Jun 20, 2011

Basically I need to have;

- interface where a user can choose a font (from pre determined font sets) and input a text string

- This text is then displayed engraved on a ring (jewellery)

I'm not sure the best way to achieve this or if there is a module somewhere that does similar.

My best guess would be to

- using mathematics (sin, cos) to be able to plot the oval (where the text need to be displayed on the ring) on an imaginary graph.

- From here there will be a centre , start and end point. The text will need to be limited as it will eventually following the curve of the ring until it can't be see as it is masked by the angle of the ring

- If using dynamic font then the width of each letter should be possible to obtain with AS.
Then mathematically it should be possible to determine how far away from the centre point on the oval each letter is.

- Following this, dependant on the letters distance from the centre, transformations can be applied to each letter. IE stretch, skew and an emboss filter via the convolution filter.

- Hence this will provide the illusion that the text is following the curve of the ring and the look like it is engraved via the emboss.

View 6 Replies

ActionScript 3.0 :: Flash Finding Best Fit Slope Of A Bitmap Surface

Jan 24, 2012

I was wondering if anyone knows of a way to isolate the pixels that are adjacent to a certain color pixel in a BitmapData. For example, if there was a BitmapData that looked something like this:[code]I was wondering if there was a proven and efficient way of doing this, because I am trying to make a collision engine of sorts that can give me the collision normal of the best fit slope of a given bitmap image. In the scenario of the last example, the slope would be 1/1, or -45 degrees. The way I have it now, I am isolating the adjacent pixels by blurring the entire image, looping through all of the pixels, and storing the gray ones in an array. from there I can determine the best fit slope of the surface of the image. The only thing is that this seems like a lot of work for the CPU. Is there a better way to isolate the black pixels adjacent to white ones than blurring the image and looping through every pixel?

View 12 Replies

ActionScript 3.0 :: Pencil Tool - Drawing Above A Image But The Drawing Is Below The Picture

Nov 9, 2010

i've tried to simulate a pencil tool, for drawing above a imagem, but the drawing is below the picture. How fix it?

[Code]....

View 3 Replies

ActionScript 3.0 :: Generate Drawing API Data From Drawing Object?

Jul 22, 2009

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.

View 2 Replies

ActionScript 2.0 :: Enabling Drawing Only When Drawing = True

Sep 28, 2009

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].....

View 3 Replies

ActionScript 3.0 :: Drawing Over A Movieclip In A Custom Drawing App?

Jan 13, 2012

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]....

View 8 Replies

ActionScript 3.0 :: Drawing Api Drawing 40,000 Objects

Feb 18, 2009

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]...

View 9 Replies

ActionScript 2.0 :: Typewriter Effect Here Is Very Fast - Much Faster Than When Use Onenterframe To Produce The Effect

Jun 14, 2005

check out: [URL] The typewriter effect here is very fast, much faster than when I use onenterframe to produce the effect. Does anyone know how this is done?

View 14 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved