ActionScript 3.0 :: Way To Get A Nice Curved Line Between DataPoints
Nov 8, 2010I was working on this Graph (see link) and i couldn't find a way to get a nice curved line between the dataPoints.URL...
View 4 RepliesI was working on this Graph (see link) and i couldn't find a way to get a nice curved line between the dataPoints.URL...
View 4 RepliesI'm trying to draw this hint box and was wondering if anyone could explain to me how to draw a curved line like the one below in flash?
View 4 RepliesI want to 9 scale the line in the shape of 'U' so that i can increase the width in a manner that the rounded corner of the line not got spoiled and I also want to resize (in proportion) it without spoiling it's rounded corner. Right now I have done it in the distinct files but I want to do these both properties in a single file.
View 1 RepliesAny idea on how to curve a line and bend the texture along with it?I tried lineBitmapStyle with curveTo, but that doesn't bend the texture.I was thinking of using a for loop to draw the curve using lineTo, and using a matrix to rotate the lineBitmapStyle...but it isn't working out to well.
View 0 RepliesI need to attach a series of mcs to a curved line. These mcs are attached through actionscript with the attachmovie code, they do not tween, just attach at intervals one after another. Its hard to explain i know. When the user presses a button on the screen the first mc appears at the start of the curve, another press attaches another mc perhaps 10px inwards on the line and so on.
View 2 RepliesAny way to get a curved line to draw from a known point a to a known point b. Point b will always be changing and will be in any position around point a. I can work with an existing line from a movieclip and change it somehow, but right now I can't find any way to accomplish it.
View 2 RepliesI want to be able to position a series of movieClips along a curve of a cicrcle, well part of it. Basically I need a curved wall.
This is where I am at the moment, ...not very close.
_root.rot = -30
for (var i:Number = 1; i < 6; i++) {
var block = attachMovie("block", "block_" + i, _root.getNextHighestDepth())
block._y = 30
[Code]....
Here's the effort simply displayed: http:[url].....it uses curveto to show the arc of a doorswing.I'd like the drawn arc instead to appear/trail along the leading edge of the door _as_ the door swings open. Guide Layers AS2 led me to tweening AS3 class but the beginning and end objects weren't right. Am I in the wrong place? This seemed somewhat straightforward but perhaps I'm searching for the wrong keyword(s.
View 4 RepliesI created a character that can move left or right according to keys pressed by the user. (simple enough)But the most I could do is make it move along a straight line, (change X value)or along inclined lines by defining them as linear functions. (not very effective i guess)My question is, is there a way for me to draw a line and have my character walk across it?Is there something that would allow me to get the Y value of a curved line I drew based on its X value?Obviously this wouldn't be a problem if I could just draw a line from a mathematical equation, but my searches proved that to be rather complicated.
View 2 RepliesI am trying to draw a continuous curved line in flash. There are many methods but none of the ones I have found so far quite fit my requirements. First of all, I want to use the flash graphic api's curveTo() method. I DO NOT want to simulate a curve with hundreds of calls to lineTo() per curved line segment. It is my experience and understanding that line segments are processor heavy. Flash's quadratic bezier curve should take less CPU power. [code]...
View 3 RepliesIm working on some actionscript drawing, right now Im drawing a curved line on a map to show a route for a shipping company, the line is red but I would like to color a portion of the line green for the completed portion of the journey.
View 10 RepliesI'm trying to simulate the coriolis effect and have managed to create a drawing application that lets the user draw on a rotating movie clip. However, I would like to now create an animation that automatically draws a line onto the movie clip which ends up being curved, but I can't figure out how to convert the x, y coordinates of the pixels on the stage to the corresponding x, y values of the movie clip. Here's what I have so far:
[Code]...
Like every other time I've had the displeasure of having to work with Flash, I feel like the best rule is to have a good bottle of whiskey on the side. I'm getting into CS5 and have a really complicated question here: how do I get this program to let me see what it is I'm actually working on? You know, the main point of being in here? I can't find a solution in any of the drop menus, have been in and out of the various workspaces, and in each instance I get everything except the most important element, which is the stage. Where the hell has Adobe hidden this thing now? It was here a half hour ago and has disappeared.
View 1 RepliesIs it possible to pass on arguments.. see simnple code
Code:
proxyFunction = function(theEvent:String){
var alen = arguments.length
[code]......
url...how to make such this preloader...i mean a circular animated boxes positioning into border preloader based on percentage..u guy's know what I mean..hope someone can point me to achieve this type of preloader.
View 8 RepliesHave a web page designed in AS2. Made some nice new XML gallery wth pop-up window. Is it possible to combine these 2 swf files externaly ie load gall on web page?
View 2 RepliesI have traced out all the info and it is good. Now why won't my FOR loop write it out?
//a_groups_mc.a_group2_mc._visible=false;
//a_groups_mc.a_group8_mc._visible=false;
for (L=0; L<myLetters_array.length; L++){
a_groups_mc.eval(myLetters_array[L])._visible=false;
}
Does any one know of an actionscript function or class to convert strings representing math equations (like: "integral(e^(1/2), a, b)" ) into nicely formatted formulas, for display purposes (using the integral glyph, etc..) ?
Purpose: I need to display nice looking math formulas that have been entered as strings (without special characters) in an xml file.
Just wondering if blurX and blurY works with the classes lee was talking about in the tweener movie? (the caurina classes) If not how can I get a nice blur effect on my tween objects?
View 11 RepliesWhat AS should I use to make an object wich is a movie clip appear into the stage?I have this action:
on(release){
something._x = -1000;
something._y = -1000;
}
But using it the object just appear, from nothing and I want it to appear from a initial position....
I am trying to develop some kind of nice linear animation that is kinda random but nice and organic in shape or just linear. Ok that doesn't make much sense. The outcome should be somewhere close to this : [URL]
View 4 RepliesWhat AS should I use to make an object wich is a movie clip appear into the stage? I have this action:
on(release){
something._x = -1000;
something._y = -1000;
}
But using it the object just appear, from nothing and I want it to appear from a initial position....
Im trying to develop some kind of nice linear animation that is kinda random but nice and organic in shape or just linear.
View 4 Repliesi have an xml file and i want my code in flash to read it line by line but its only showing the first line out of 5 lines.Below is the code:
var NigeriaNumber:Number;
var stateName:String;
var year:String;
[code].....
I've just started learning as3 and I've been trying to find a good tutorial on dropdown menu's using just xml and as3. Most of what I've come across so far are either static menus or menus driven with heavy use of the timeline. Is it even possible to build a nice fluid drop down menu completely in code?
View 2 RepliesI've only used flash for 5 months now. As you expect, i'm a super novice. I've been trying to follow the books, tutorials i fould on web and was able to make some nice animations,buttons and stuff. But i'm not a programmer, i never been one and i just don't think i got the brains for it. I just know a little bit. Like i said, it's only been 5 months so i only know how to change other's script to suit mine, i can't create any complicated from top of my head. My question is...do I HAVE TO be an expert to make websites with Flash? After all, i'm only learning Flash so I can make interactive websites. I'm not looking forward to making games or drawing boards or anything. Just websites. How much knowledge of Actionscript(or XML) would I need to make a flash only website?
View 4 RepliesI am trying to figure out how to proceed. Obviously this is a christmas project. The user will be presented with a text input to see whether their name is on the Naughty or Nice list at the North Pole. I would like to randomize which list the users name appears on. And perhaps give them an option to redeem themselves, by doing something "nice" if their name shows up on the naughty list.
View 2 Repliesi have a background that resizes with the window (without stretching) and my image has a nice resolution. But when i resize it, it seems low in quality.
View 3 RepliesSo I can tween shapes and such for their colours, but when I try to colour tween text, it won't work. I've tried various things, motion tween, shape tween, making them movie clips, making them graphics, ect. How do I make text tween between colours to get a nice smooth transition?
View 2 RepliesIm animating an around in 3d space with papervision and Id like to make the curves of the animation nice and smooth, if I put random values into the xyz and bezier values the turns are quite weird and erratic. Does anyone know of a way I can animate something around in smooth curves, but not have to create specific values for the tween?
View 2 Replies