ActionScript 2.0 :: Chemical Equation Balancer Using It?
Aug 30, 2010Has anybody gone through a chemical equation balancer using AS2
View 2 RepliesHas anybody gone through a chemical equation balancer using AS2
View 2 RepliesWe have a pool of FMS 3.5 servers behind a haproxy load balancer. They are working fine with RTMP and download with HTTP through FMS proxy. We need now to have RTMPT working for some clients behind a strict firewall.
1) We started configuring the haproxy load balancer to work in HTTP (level 7) mode and we changed the FMS Adaptor.xml configuration file on all servers with the tag below:
[Code]...
how to test and confirm that fms clustering is working.
View 1 RepliesThere's an variable in my swf I want to receive XML. It's an integer value in the form of an equation. How do I receive the XML value for 'formatcount'?
[Code]...
just download my project and look at the missile code. I need to find out the equation make it so that the fire that is attached in the mc moves as if it didn't inherit the missile's coordinates(i.e make it so the fire moves like it was outside the missile's mc, and doesn't move with it) I know it has something to do with the circular rotation code found in the tutorials but i just need someone to write out the code.
View 1 RepliesIs there an easy way or some kind of function that can turn a string into an equation? Say I have:
var string = "4 + 5";
is there something that can get it so it will be counted as 9?
if anyone has any info on animating a point around a "sphere" with actionscript. If anyone has an actionscript equation defining this motion
View 4 RepliesI would like to know if theirs a way where you can type in a text field something like "5*5".
And then on enter, the document would take the database and be able to return 25.
I am quite confused due to the fact that content that you input into a textfield must be a String and when you use the Number() converter the system gets confused.
I want to display a Quadratic equation with format like (4x2). I want to display 2 as superscript automatically after typing x in the textbox.
View 1 RepliesI am very new to action script, and using action script 2.0, I am having a problem getting an input textbox to read in mathematical formulas. To enter 5x^2, the key sequence to be used is {5}{x}{2}. i.e., the characters must be formatted as it is being typed.
Ultimately, I want to enter equations like 5x^2-4x-2.
The textbox should not allow non-numerical characters other than x.
I have 3 balls and i want them to turn around a center point.The physics is right but I'm finding confusing how to apply the equation to any object of my array.
Here it goes the code:
Code:
var movies = ["ball_mc", "ball2_mc", "ball3_mc"];
var angle:Number = 0;
var centerX:Number = center_mc._x;
[code]....
do you know of a WYSIWYG equation editor, like DragMath, implemented in javascript/mathml or Flash? I could embed DragMath as well, but I was wondering if there's a way to have a good WYSIWYG formula editor without requiring the users to run a Java applet.
View 2 RepliesIm trying to make a simple addition, like 2 plus 2 and send it to my dynamic box. I show u guys how im doing.
[Code]....
I have one input textbox.To enter 5x^2 ,key sequence used are "5" "x" "2" ie.,the characters must be formatted as it is being typed.I want to enter equations like "5x^2-4x-2".It should not allow other characters other than "x", using action script 2.0 .
View 4 RepliesThe project I'm working on requires a text field that the user can input an equation and the result is passed on to a variable. The problem is whenever you put in an equation it always comes out zero. If you just put in a number it passes it on properly. Below is a simplified example of what I'm trying to do.[code]...
View 9 RepliesIs there any actionscript that can draw a line after formal y = a*x+b;
Where a and b is given in an input textfield.
I have 3 balls and I want them to turn around a center point. The physics is right but I'm finding confusing how to apply the equation to any object of my array.
Here it goes the code:
var movies = ["ball_mc", "ball2_mc", "ball3_mc"];
var angle:Number = 0;
var centerX:Number = center_mc._x;
var centerY:Number = center_mc._y;
var radius:Number = 100;
[Code] .....
Im trying to do a simple addition, like 2 plus 2, adn then send it to my dynamic textbox.
Im sending the value to the box wrong.
[code]
somar (40);
function somar(numero1:Number){
soma = soma + numero1;
trace(soma);
btn_somar.value = soma;
}
I have a simple silly question that I've seen posted here a million times but now I can't seem to come across. Whats a good equation to keep aspect ratios on resize?
View 4 RepliesI was wondering if there was a way to convert a string containing math symbols such as +,-,*,/ and numbers. I am building a calculator.I have a string variable that I keep appending the value of the button.In the end the string looks something like this 8+3+3-4*9.I was wondering if there was a way to solve the equation just using the information in the string. I tried setting a Number to the string and I would get NaN. The hard part about this is trying to count for the math oop i.e Multiplying before adding.
View 1 RepliesIn the scene there is a star and an AI player.what equation would take the AI player on the most direct route to the star...i.e guide it into the path of the star...just to make things clear, the star is static and the ai plaer is controlled by the computer. i think you have to make two variables distx and disty and use some sort of trigonometry on them but i'm not entirely sure on how to go along doing this.
View 9 Replieshow would you go about creating a random equation? i would like to randomly generate two individual numbers, a random operator (out of +, -, *, /) between these numbers and then the user would input a number to answer the equation... any thoughts on this?
View 4 RepliesI wrote it through the equation (n, k) = n!/(k!(n-k)!).But I found it will loose precision quickly after 12th row.So I change the way. I tried to use the properties of triangle(each row is the sum of previous row)Than I get slow in running when function reach higher degree.
I just keep changing a little and a little... try to make it run faster.
Quote:Function binCoef(70) :
1,70,2415,54740,916895,12103014,131115985,11987747 [code]..
I am trying to create a script, where the user inputs a maths equation (something simple like 5 + 2 * 10), I have managed to break down the text into an array and have the numbers in one array and the symbols in another, I wanted the computer to then work it out, however I cant seem to think of how to do this and the methods that I have tried have failed.there is one dynamic box and the value of that is then broken down by an array split(" "), however this leaves the values in an array and it is percieved as a string not a number and so when i try to work it outit just displays 5 * 10, how would i get it to work that out?
View 1 Replies"mc.graphics.moveTo"and...mc.graphics.curveTo....to draw out some dynamic lines.What I need is some sort of equation that sets the "controlX" and "controlY"depending on how long the line is and in what position it is.The below is a pile of pap and doesnt actually work... but thats me trying to figure out some set equation for it...
Code:
lineForItem.graphics.moveTo(childDisplay.x, childDisplay.y);
var newB:int = familyData.mumsY - childDisplay.y / 2
[code].....
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].....