ActionScript 2.0 :: Change Graph Scale To Logarithmic
Apr 22, 2010
I have the following script that takes a number and visualizes it on a circular shape much like an odometer/speed meter that a car dashboard has.[code]The scale is from 0 to 1200 and the problem I have is that the value I want to show is usually so small that it looks like it's stuck next to zero all the time. So, what I need is change the scale to logarithmic so the values from 1 to 10 take up as much space as those from 10 to 100 etc. and the small values show fluctuation. In the attached image you'll see on the left how it behaves now and on the right how I need it to become (both show a visualization of a small value, something around 7 or 8).
View 4 Replies
Similar Posts:
Apr 22, 2010
[Code].....
The scale is from 0 to 1200 and the problem I have is that the value I want to show is usually so small that it looks like it's stuck next to zero all the time. So, what I need is change the scale to logarithmic so the values from 1 to 10 take up as much space as those from 10 to 100 etc. and the small values show fluctuation. In thefollowing image you see on the left how it behaves now and on the right how I need it to become (both show a visualization of a small value, something around 7 or 8).
[URL]
View 5 Replies
Apr 22, 2010
I have the following script that takes a number and visualizes it on a circular shape much like an odometer/speed meter that a car dashboard has.[code]...
The scale is from 0 to 1200 and the problem I have is that the value I want to show is usually so small that it looks like it's stuck next to zero all the time. So, what I need is change the scale to logarithmic so the values from 1 to 10 take up as much space as those from 10 to 100 etc. and the small values show fluctuation. In the attached image you'll see on the left how it behaves now and on the right how I need it to become (both show a visualization of a small value, something around 7 or 8).
View 4 Replies
Aug 22, 2011
In the below code the traced values are correct its there in the chart data provder but the
input graph is not plotting.there is no error in this code.Can anyone solve it?
function fnctn(evt:Event)
{
var tp:int = bulb1 + bulb2 + bulb3 + bulb4;
[Code].....
View 1 Replies
Jan 26, 2010
School Project with the following actionscript in Flash 8, I want to show a slope graph? What code to add to make slope graph work?
/*var orig_x:Number;
var orig_y:Number;
orig_x = (plane_mc._x)+(plane_mc._width/2);
[code].....
View 0 Replies
Jul 22, 2011
I can't set a picture as a user-created page wallpaper and i also cant "like" this same page using a Facebook Desktop Graph API request.how to use the Facebook Graph API for AS3 to change the wallpaper on a user created page and also set the "like" status for that page of a user? Is this even possible?
View 1 Replies
Oct 13, 2010
I am using Actionscript 2.0.
O_o My question is...
What script must I use?
Example.
B=20;
Then I need to get the output of logB.In other words log20 = 1.301029996.How can I get that? O_o
View 2 Replies
Sep 18, 2010
i made it flash. in the actionscript code i use many tweens also to change the scale of some buttons. so when i click button A that loads section A all the other buttons get scaled to 0. then when i click the home button i want those buttons to reappear and function. but my problem is that when i scale them up again they don't function. so in the actionscript of the button A i use a eventlistener for click and then the graphics and the buttons all scale down to 0, then a uiLoader loads some text and i make the home button appear. But when i click the home button and everything reappears, the buttons that once where there don't function any more. Is this normal? how can i fix it. Sorry but i am very new in flash and actionscript.
View 2 Replies
Oct 18, 2009
In flash if I change scale of parent movieclip, scale of all child inside the parent was changed too. Now I look for the best way to fix child scale while parent scale is changing. I mean the way with minimum listener and cpu usage. In my project I have a map (as parent) and many icons on map (as childs). map has zoom in and zoom out button and pan while dragging.
View 2 Replies
Nov 9, 2005
I'm trying work out how I can resize movieclips with actionscript.
The plan is to have lets say 10 movieclips on my stage. You click on one of them and it grows smoothly to 200%, where as the other movie clips all shrink down to 10%.
If you then clicked on another MC (currently 10%) this one will begins to grow to 200%. The previous (currently 200%) will shrink to 10% and the MCs that are already 10% remain how they are.
View 9 Replies
Mar 23, 2012
I'm developing a Zoom tool in my Flex App, so I'm using scaleX and scaleY property to simulate this behaviour.But when I scale my Canvas, its size change as well (obviously). The problem is that I have this Canvas inside another Canvas, so the first Canvas can't be smaller than the second one.Here is an image before and after apply zoom changing scale property in both axis:At the left, the original Canvas. At the right, Canvas after update its scale (red rectangle is the original size at 1:1, and green is after resize).I need to extend the Canvas to take up the red rectangle (not the green).
View 1 Replies
Mar 21, 2004
The selector mark is suposed to "mark" the selection on the menu after a selection is pressed. But Im having problems with the X and y coordinates and scales of the MC and when I click on the option, the MC gets smaller and then bigger to the size I want. Its suposed change scale and position but its not working like it is suposed to work. Im not sure either if I�m setting the Mc on the initial x and y coordinates.
View 4 Replies
May 27, 2009
i have loaded a colorful image. when i rollover this image, then the image has to change in grey scale.i think it can be done with filter adjust color, but i want to do this with scripts.
View 3 Replies
May 27, 2009
i have loaded a colorful image. when i rollover this image, then the image has to change in grey scale.i think it can be done with filter adjust color, but i want to do this with scripts.
View 2 Replies
Jul 31, 2009
When you load a object through flash, you can set the rotational/scale point, but when you load it as a loader object or sprite, how do you change this point?
In this instance, I want to change the height of a sprite that is filled with a rectangle so that it shrinks down, not up.
Right now:
var colored_bar:Sprite = new Sprite();
with (colored_bar.graphics) {
beginFill(0x9e1819, 1);
[Code]....
The way I am doing it currently is moving the y position everytime I take away soem of the height, so it looks like it's moving down, but I'd think moving the orientation point at the beginning would be faster
View 2 Replies
Apr 13, 2005
I'm a bit of a newbie, wondering how this scaling effect is possible. See www.sagmeister.com - when you scale your browser window, the entire site interactively shrinks or enlarges to fit. How is this done with Flash MX? Is it a publishing option or an actionscript or what?
View 8 Replies
Oct 5, 2010
My paint brush tool seems to be locked. I can't change the stroke, style, or scale....?
View 1 Replies
Jun 26, 2007
I'm looking to create a rotating set of images, simulated to look 3D... that can rotate either left or right, reactive to someones mouse location.
The path of the images would look like a flat oval, and as the images came to the forefront, they would be at full scale, have the lowest position (high _y), have the highest depth (appear in front of everything else) and be dead center _x.
As they slide left or right, they would reduce everything by a relative 50% to the final shift (scale, _y, and depth) until they got to the end, moving in an upward arc following the oval path. When they got to the end, and kept rotating beyond (move in the opposite _x. but appear to follow the flow of the arc), continuing to decrease in scale, _y, and depth.
View 1 Replies
Mar 8, 2007
Scenario: main moveiclip with 4 other clips in it. I want the rolledover clip to scale up and all the others to scale down and blur.
Question: What is the most effiecent way to code this. Would it be a "for in loop"? I am trying to minimize the code and would rather not use a whole bunch of if then statements.
View 3 Replies
Feb 19, 2010
I want my flash content to scale when I scale my browser window.
View 5 Replies
Jan 14, 2006
How can I convert the current scale of the instance to 100% so I can easily "visualize" and manage the instance when I modify its scale? Here's the actionscript, it works, but I just want the temp._xscale and temp._yscale to be in percentages, not real numbers.
Code:
USflag.onMouseDown = function ()
{
var temp = USflag;
onEnterFrame = function ()
[code]....
One last thing, what's the tag you have to put that is designed for boxing actionscripts? I'm suing [ code ][ /code ]
View 1 Replies
Dec 4, 2009
My Flash image will not scale.if you zoom in, it gets chopped up. if you zoom out, it has a big blank area.What should I change in order to have this Flash image scale just like the rest of the site? [URL]It is the Flash in the center.
View 1 Replies
Aug 29, 2011
Flash - How do I post a swf via graph api using PHP SDK
View 1 Replies
Apr 23, 2009
I create a movieClip is "sin_mc".In this MovieClip,I drawing a sin graph in a period.I want to loop sin Graph 4 times but i don't know actionscrip.
View 1 Replies
Oct 9, 2010
I have som porblem with Facebook Flash graph API I am receiving request, but realy when I check my wall in facebook FacebookDesktop.api not adds Like or unLike
private function likeClickHandler(event:MouseEvent):void{ handleLikeClick() } protected function populateLikeCount():void { if (intData.user_likes) { likeBtn.label = 'Unlike'; } else { likeBtn.label = 'Like'; } likesCount.text =
[code]....
View 1 Replies
Nov 17, 2011
I have been searching the net for a tutorial how to graph functions. I found one from Barbara Kaskosz, very detailed, and too much scripting. Too much for me. Is there another way or place to learn, or I am doomed, and have to face the music and study her stuff. All I want, is to be able to graph a simple function.
View 4 Replies
Apr 4, 2012
I want to make an interactive gizmo to explore 20%. so I want a little slider and a red (20%) and a green (80%) bar so that when I slide the slider to different numbers - lets say between 1 and 100 I get a graphical representation of 20% of the number selected as well as the actual numbers? so at 50 red column is 10 green is 40. at 100 red is 20 and green is 80?
I could just have a MC with different frames and select a few numbers to highlight and fake it.
View 3 Replies
Feb 3, 2011
I'm doing a FB app with the Graph API in Flash. I've got everything working which consists in uploading some images created by the user in the app. The only part that I'm missing is how to tag these photos as with the Graph API it is not possible.
So I was wondering if it's possible to call a method of the REST API even though I'm using the Graph API.
View 1 Replies
Mar 31, 2011
Is there a way to export a flex graph to excel?
View 2 Replies
Mar 31, 2011
I need a line chart in my playbook app. does anybody know a library for that? (for as3 mobile air projects)
View 3 Replies