Flash Math Cos/Sin
Hey folks, I'm animating an object using the cos/sin math methods. I am using the following code to animate an object in an oval shape:
onClipEvent (enterFrame) { angle += .1; _x = (Math.sin(angle) * 160) + 300; _y = (Math.cos(angle) * 40) + 200; }
So now I need to take it 1 step further by rotating the object as it animates in an oval pattern. Only catch is, I need it to be all mathmatical animation. If anyone has the brain capacity to figure this one out or give me some direction I'd appreciate it! Thanks!
Ultrashock Forums > Flash > ActionScript
Posted on: 2008-01-25
View Complete Forum Thread with Replies
See Related Forum Messages: Follow the Links Below to View Complete Thread
Controlling The Odds Of Math.floor(Math.random()
Hey,
Is there a way to set a random number in a array to showup maybe once a day. Or every 5000 views or loops, or something like that. I would love to be able to control the odds of a array. Cheers!
ActionScript Code:
var pic_array = new Array();
pic_array[0] = "images/1";
pic_array[1] = "images/2";
pic_array[2] = "images/3";
pic_array[3] = "images/4";
pic_array[4] = "images/5";
pic_array[5] = "images/6";
pic_array[6] = "images/7";
pic_array[7] = "images/8";
pic_array[8] = "images/9";
pic_array[9] = "images/10";
pic_array[10] = "images/11";
pic_array[11] = "images/12";
pic_array[12] = "images/13";
pic_array[13] = "images/14";
ranNum = Math.floor(Math.random()*pic_array.length);
holder_mc.loadMovie(pic_array[ranNum]+".jpg");
MATH: General Math Ratio Formula?
So I have these sets of values that correspond with other values. But the manufacturer only gave me sets by 5. I need to break it out for every integer. Here's what I got ...
Code:
20=35
25=54
30=78
35=106
40=138
45=175
50=216
55=261
60=310
My question is how do I develop a formula in Flash that can give me values for numbers not divisible by 5? Accuracy to the nth power, figuratively speaking, isn't crucial.
Big thanks,
Layne
Math.round(Math.random()*4)+1
Will this return values of 1 to 5 (inclusive).
If not, anyone know how to get random whole numbers 1 to 5?!
Cheers.
Dongle
Math.ceil Ll Math.floor
Hi there,
I have code to dynamictween my mc's.Works great.I only need the if statement to work so when my square reaches it's new size and position I can load in my content using a holder.Can someone help me out on this if statement.
and instead off scaling the holder,etc I want to control it's xy position when hitting but0,...
but0.onRelease = function()
{
_root.square.dynTween({duration:6, _y:[350, "In", 60], _yscale:[200, "out", 5], callback:"_root.action1"});
if (Math.ceil(this._dynTween) == Math.ceil(_root.square) || Math.floor(this._dynTween) == Math.floor(_root.square)) {
if (_root.squareTrigger == 1) {
if (_root.squareLoaded == undefined)
_root.square.squareHolder.loadMovie("content0.swf" );
_root.square.squareHolder._xscale = 33;
_root.square.squareHolder._yscale = 33;
_root.square.squareHolder._x += 35;
_root.square.squareHolder._y += 35;
_root.squareLoaded = 1;
}
_root.square.squareHolder._visible = true;
_root.squareTrigger = 1;
}
}
}
Grtz,
Math.atan && Math.atan2
Can someone please expplain to me what does Math.atan2 and Math.atan returns? I made a file to try to understand, but I cant figure out what they do!!!
I saw a lot o fo files wich use those actions, but still couldnt understand.
Var I = Math.round(Math.random()*1)
this should return either 1 or 0?
but it seems to be returning something else as well and i dont know what it is???
function startXPos() {
var i = Math.round(Math.random()*1);
_root.test1 = i;
_root.test2 = t;
return i;
}
i have this just after
if (startXPos() == 0) {
startX = -500;
endX = 750;
} else if (startXPos() == 1) {
startX = 750;
endX = -500;
} else {
startX = 0;
endX = 0;
}
_root.test3 = startX;
_root.test4 = endX;
As far as i am aware this should never return 0 for these two values but it does?!?
can someone please tell what im doing wrong here?
Math.round And Just Plain Math
Hi, I'm back with another question.
I want my exam to show a percentage at the end. I guess I'll concatenate a 'percent sign' at the end, but right now I'm having trouble with the math.
There are 13 questions. This is what I have:
score = Math.round(right/13*100);
The scores are coming out all wrong. Any ideas would be greatly appreciated.
Dan
Math.round() Or Math.random()
Is it better to use Math.round() or Math.random() reason I am asking I think I read somehwere that one was better. My problem is that I have a number of movie clips that are attach dynamically. They move randomly on the stage but for some reason they just stop moving randomly.. I think there was a post somehwere about that but cannot seem to find it.
Math Questions For The Math Experts :)
Hello there,
I am looking for a way to find a vector if i know one point and 1 angle...
Like i have A(x,y) and a vector starting from A(x,y) with an angle. I would like to know the position on a point X(x,y) that can be anywhere on that vector. I only know the coordinates of A and the angle. Possible?? I guess it has to be a function... ANy help would be appreciated
Math In Flash
Hi, Looking for a good place that has a good tuts for that subject ???
Math In Flash 5
what I am tring to do is make it so when a user inputs a number, lets say 3 then it will sae that as a variable that I am then use through-out the entire movie (which have many scenes). The things that i want to do with the var is easy. ( like add this much if this and add that much is the users chooses that option. But I want to know how to get it stored as a var. Can someone Please help me, thanks for your time!
tony
Flash 7 & Math.log() ?
Hi,
I have been making a flash clip using Flash mx 2004, I had it set to use AS2 and flash player 6 and it mostly works fine. But now I want to see if i can change it to Flash 7. But math.log() won't take in a variable anymore!! everything else works file except math.log().
for eg.
if i put math.log(22);
it works fine.
but if i put math.log(var);
Like i have normally, it doesnt work.
Anyone know how to fix it? or is this just a stupid error in Flash player 7?
Thanks
Richie
Math In Flash
hello all
i made the file in the attachment and i want your help i use flash mx pro 2004 . i made that
1- i made input text and i want from user to put function Y(x) as (x^2+5x+2)
2- i made input text and i want from user to put the x value (3)
3- i made dynamic text and i want from flash (action script) to put the value
of x in the function and find the Y(x) value.
how can i do that?
Math In Flash
Good Afternoon! Can someone point me in the right direction or a tutorial that deals with displaying math equations. I'm trying to make a quiz that has math problems like (x^2+5), tan(5x), etc.. I have accomplished displaying, but I need assistance with checking the users input. Is there a book just for equations?? I've seen several tutorials and books that only use math functions to position objects on the stage and not actually calculate. Can anyone help?? Thanks for your time.
Can Flash Do Math?
I'm trying to create a simple 'quiz' with 7 questions, each worth 0 or 10 or 20 points. Each time a person hits "yes" they would get points. If they hit "no" they would get zero points. Is there a way for flash to add up all the points and give a total score at the end? I'm using Flash 8 on a mac.
thanks!!
susan
Flash Math
Any good ActionScript mathematicians out there?
I keep getting "NaN" on this value, but should not be.
lambda = (Math.sqrt(((x*2)+(y*2)) - R0) * (1/R1));
where:
x = x coordinate
y = y coordinate
R0 = radius of a circle
R1 = radius of another circle
With this variable, I get a mix of valid numeric values and sometimes "NaN". It appears that the formula is valid, but that some of the values are going beyond what Flash can recognize.
What limitations does ActionScript have with number generation?
Math ML In Flash
Can anyone tell me where I can find a resource that shows how to display Math ML in Flash? A source FLA to pick apart would be ideal.
Thanks,
Dan P.
Flash And Math
Hi everyone,
can anyone suggest me some tutorial, that works using formulas? Anything with math inside.
Thank you.
Flash Math
I found an old example of how to make a volume knob in flash. The only problem is I don't under stand the math involved. I can't figure out what make it work. Here is the equation:
Code:
maxRotAngle = 120;
_root.s.setVolume(Math.floor((100 + this.rotbutton._rotation / maxRotAngle * 100) / 2));
if you replace maxRotAngle w/ 120 and this.rotbutton._rotation w/ 0... I get volume 0 when it's suppose to be 50.
Sometimes I don't get flash math and if someone could explain how this works, I'd be greatful
Flash Math Help
So, I've just done this tutorial on flash math (the one that let's you draw flowers), and I was wondering if there is any way to clean the stage with a button??
Can some one help me, I'm a flash noob =)!
Teaching MATH Using Flash?
hey....
I am going to design some games which aims at teaching some topic in Math like probablility, estimation (non-geometry topic). I wanna to deliver these topic in an interactive ways... I hate to use purely MC questions to do this.... I wanna to make use the interactive feature provided by FLASH 5... but I am really a beginner to Flash 5... and just be ablt to do MC question.... as there are many Expert in using Flash 5... can anyone share your experience in using Flash to design games which is more lively... or fun... I just don't wanna to be bored...
or can anyone suggest me some interactive feature that flash can offer to help me to build these kind of educational game....
looking forward to seeing your sharing.....^u^
Flash Math Madness
Hi board,
I'm having a very strange problem with some Math in my script.
I made a script some time ago that chooses a random height for an MC to attain, then increases or decreases it's _height property until it gets to it. Once it has gotten to it, it makes a new random height, and so on. It works fine, using 10 MCs all doing this. It's all controlled by frame script and arrays to store info.
I'm now converting it to very simple movieclip.prototype methods as I can do it all in 1/10th the script and it should run faster.
I've converted it, but the Math is being strange. All the numbers used (random, _height) etc are integers - no floating-point. It partly works fine, the MCs all move about, reaching numbers and creating new random ones, reaching them etc.
Then it all screws up
They all get stuck on 29.95 (The MCs are 60px high if that helps?). This number should not be attainable and since the clips _height is increasing or decreasing by 1, they all get 'stuck' trying to reach it. I've put an if statement in to deal with it, but it seems Flash doesn't actually know it's at 29.95, even though a trace(_height) reveals that, since it doesn't respond or perform a trace() action inside this if statement.
I've looked at http://www.macromedia.com/support/fl...doff_error.htm - a technote on Rounding errors, but I don't use any floating point numbers so don't think it should affect me.
Sorry this sounds complicated. Unfortunately, I don't have a server to post this on, but can mail it (it's small) to anyone who thinks they can help (I'm doing it as an open-source demo anyway). I am usually able to sort AS stuff out but this is irritating me.
Thanks anyone who reads this, especially anyone who replies
Leon
Flash Math Blues
im looking for some tutorials that deal with math and friction etc, but cant find any, maybe im going blind, (probably) i would say my scripting skills are ok but i want to go indepth with sin and cos but my math skills are crap.
any ideas where to go.
Math Problem (Flash MX)
Hi everybody, this is my big issue now:
if take a look to the image that I linked, what I'm trying to do is a navigation for displaying pictures. The numbered slices are buttons of each picture and the green one is an indicator, that will rotate over one of the slices clicked.
My problem is this; how can I make understand the indicator which is the shortest way to get the button clicked?
I don't need a fluent animated rotation, but I'll use setInterval and since the slices are placed 24 degrees far from eachother, once the button will be clicked, the setInterval will rotate the indicator untill the position of button just clicked. BUT if I create 2 functions used with setinterval, one for counterclockwise move and other clockwise, how can I set which one start in order to cover the shortest distance?
If it's useful, every buttons is a MC with the reg. point almost in the middle of itself.
thanks
How Do You Get Math Equations Into Flash
Does anyone know the best way to get math equations into flash 2004 mx pro? does flash have an option built in for this, I was always able to add equations to Word easy by using mathtype or equation editor but am stuck on how to do in a flash movie, appreciate any help
Flash Not Doing Math Correctly
I am experiencing something weird where my equations are correct... traces show the numbers are correct, but flash is not adding correctly.
Here is my code:
Code:
p_winnings = 0;
bet_total = 100;
payout_rate = -1;
p_balance += bet_total+(bet_total*payout_rate);
p_winnings += (bet_total*payout_rate); // *??*
trace("PAYOUT RATE = "+payout_rate);
trace("BET AMOUNT = "+bet_total);
trace("OUTCOME = "+(bet_total*payout_rate));
There is alot more code involved but this is the part not adding up right.
When I trace this, it says "Outcome = -100" which is correct.
But "p_winnings" ends up with a value of 100 instead of -100.
Any idea why?
How Do You Square (math) In Flash?
how would i be able to so something like this using actionscript: 4^2=16
without just multiplying the number by the number? is it possible?
Is There Something Wrong With Flash's Math?
The SIN, COS and TAN functions in MX work like no trig functions I've ever worked with. I entered PI into SIN and it gave me 1.22... which is neither the result you get from doing that same calculation on a graphing calculator in degrees or radians.
If that's not weird enough, I made some code that rotates an object 360 degrees and while that's happening, takes the current rotation value and does the SIN function on it, then outputs the current rotation and SIN values as they're calculated. I noticed that the SIN function changes signs (+ to - and - to +) about every 7 degrees.
All I can say WTF?!
Math Inequalities In Flash 8
I'm workin on a specialty calculator for work and theres something I need to put into it, but I'm not quite sure how the code would look...
I need to make it so that the answers are rounded up to certain numbers such as 1.5, 3, 6, 12...etc..
i just wanted to tell the calculator that
if "A"(lets call it A) is greater than 0 and less than or equal to 1.5, then "A" = 1.5
and also if "A" is greater than 1.5 and less than or equal to 3, then "A" = 3
and so on and so forth for the rest of the numbers
If anybody could help me out with that code, i'd really appreciate it...thx
Math Typesetting In Flash
I'm trying to create math tutorials using Flash and would like to generate math typesets dynamically using LaTex or comparable system. How do I go about doing this? Thanks
Flash Math Actionscript
Hello, does anyone know if there is a book out or somewhere where I can get help with generating equations in flash. Most tutorials I see have used a lot of math functions such as math.sin, math.pow, etc... but only for the position of objects on a stage. However I want to display math problems and check the users input. Any suggestions?? Please let me know.
Sample Problems :
(x^2+5)
Thank You
Flash Math Circumference
Hi,
I have a circle shape, and I want to record 10 points (x & y) that spread evenly around the edge (cirumference) of the cirlce, any clues!??
I have the circles width, height and x/y if needs be.
Screwy Flash Math?
I'm simply adding variables:
var TTMCost=TMCost;
var TPCost=TLDCost+TFCost+TLSCost+TTMCost;
example:
TLDCost is 100
TFCost is 100
TLSCost is 100
TTMCost is 10
The total when added will display: 30010. The first three variables add up fine, but it adds the last variable value tacked on at the end! How much sense does this make?
When I took out the TTMCost it adds up just fine, but by just adding that variable it does this screwy math!
I've tried script that adds the first three to another variable, then another script that adds that variable to the TTMCost variable with the same results! Just tacks it on! Why why why?
Try out the attached file, click on "Value Calculator" Does anyone know why flash would do this?
It's the 'Totals' under 'Traditional' I have the very same variable set up under Totals 'Intraflow' and that one works! What could be the deal? The command for the Intraflow totals is:
var IFPCost=IFLDCost+IFFCost+IFLSCost+IFMCost;
The file opens up full screen, press the red x to exit. Thanks to anyone who tries to solve this one!
Math Symbols In Flash
Hi! I'm currently working on a project that will need to display square root symbols over dynamic text (ie. depending on the server, i may need to display the square root of 3, or 5, or 2938). i actually do not need to calculate it, only to display it. Is there a way for me to use math symbols like this, as well as the more common ones, say, pi, squared and cubed numbers in Flash?
thanks
Edited: 02/10/2007 at 11:51:56 AM by kynshny
Really Wierd Math In Flash
OK - so I have a function that looks at some data, grabs a variable that is an object, another variable that is a parameter, and adds in a third number that is a variable... it looks like this...
object [ parameter ] += number;
it's all fairly standard stuff... but it's going absolutely crazy! When I hard code a value into the number, it works great. When I let it grab the number out of an array of numbers, adding it doesn't change the value of the parameter!
ug.
Any tips? Am I breaking any rules?
here's the code twice with trace output in comment blocks... Just look at the trace output and you will see the problem.
Attach Code
================================================= value from array =========================
_root._mcTempSwoosh._swooshFunction = function():Void {
for(var i:Number = 0; i < _root._mcTempSwoosh._aSwooshData.length; i++) {
//create references (to simplify)
var oSwoosher:Object = _root._mcTempSwoosh._aSwooshData[i].swoosher;
var sProperty:String = _root._mcTempSwoosh._aSwooshData[i].property;
//execute the actual frame of swoosh...
var nNum:Number = _root._mcTempSwoosh._aSwooshData[i].movements.splice(0, 1);
var nOldNum:Number = oSwoosher[sProperty];
oSwoosher[sProperty] += nNum;
trace(nNum + " + " + nOldNum + " = " + oSwoosher[sProperty]);
//if there are no movements left, remove that object/property pair from the SwooshData array,
//and i-- so the loop corrects for the order change.
if(_root._mcTempSwoosh._aSwooshData[i].movements.length == 0) {
_root._mcTempSwoosh._aSwooshData.splice(i, 1);
i--;
}
}
//When we get here, we are all done with this frame's swoosh moves. If the SwooshData array is empty,
//we can kill everything relating to the Swoosh.
if(_root._mcTempSwoosh._aSwooshData.length == 0) {
delete _root.onEnterFrame;
delete _root._mcTempSwoosh._aSwooshData;
}
}
/**
* Trace output..... obviously the math is wrong.
* ...
* 6.7 + 59 = 59
* 6.7 + 59 = 59
* 6.7 + 59 = 59
* ...
*/
================================================= hardcoded value ===========================
_root._mcTempSwoosh._swooshFunction = function():Void {
for(var i:Number = 0; i < _root._mcTempSwoosh._aSwooshData.length; i++) {
//create references (to simplify)
var oSwoosher:Object = _root._mcTempSwoosh._aSwooshData[i].swoosher;
var sProperty:String = _root._mcTempSwoosh._aSwooshData[i].property;
//execute the actual frame of swoosh...
var nNum:Number = 6.7; //////////////////////////////////////////////////////////// here is the hardcoding.
var nOldNum:Number = oSwoosher[sProperty];
oSwoosher[sProperty] += nNum;
trace(nNum + " + " + nOldNum + " = " + oSwoosher[sProperty]);
//if there are no movements left, remove that object/property pair from the SwooshData array,
//and i-- so the loop corrects for the order change.
if(_root._mcTempSwoosh._aSwooshData[i].movements.length == 0) {
_root._mcTempSwoosh._aSwooshData.splice(i, 1);
i--;
}
}
//When we get here, we are all done with this frame's swoosh moves. If the SwooshData array is empty,
//we can kill everything relating to the Swoosh.
if(_root._mcTempSwoosh._aSwooshData.length == 0) {
delete _root.onEnterFrame;
delete _root._mcTempSwoosh._aSwooshData;
}
}
/**
* Trace output..... Now - I've just hardcoded "6.7" into the declaration of nNum... what's going on??
* ...
* 6.7 + 59 = 65.7
* 6.7 + 65.7 = 72.4
* 6.7 + 72.4 = 79.1
* ...
*/
Edited: 06/25/2007 at 09:23:14 PM by DZ-015
Flash Math And Angles
I know enought about the flash math functions its just i dont know the formula to work out angles in a triangle if i have three lengths in a right angled triangle. I have the hypothenuse, the vertical and the base, i want to work out the angle between the base and the hypotenuse, as i am creating a little tool that displays a dimension arrow between two points and i need to rotate it acurately to get joinign form point to point. My dimension movie clip is called lineBox and it's registration point is at the left most part of the line (so basically nothing has a minus x value so it can be placed at poitn x and rotated and scaled to fit to point y)
thanks in advance!
Math And Flash Help, NaN, Rotation
I am working on a file that has a rotating dial, and I'd like the dial to reveal contents of a text field (a link) as the dial points in the direction of the text field. I have 4 text fields located at 90, 180, 270 and 360 degrees (top, bottom, left and right). I have it controlled via AS, so I've got all the Math but I was hoping someone might know how to reveal the links when the arrow (in the dial) is pointing in these directions.
I set up a text field for testing, which shows the degrees, but I'm getting 'NaN' in the field (problems with Theta and converting degrees to Radians, I think). I thought this might help me figure out how to reveal those links, if I can get the NaN to work.
Currently, the file is rotating with an onPress, but I'm going to convert it to a mouse follow, instead, so the user only has to float around to see the links.
Anyone have any Math experience? Please??? (this is driving me crazy)
Flash Ignoring Math - Please Help
I know this sounds strange - but that's what's been happening to me. I have this simple if(condition >= textfield && condition <= another textfield){ statement that works everywhere except in my movie. I can even create another movie with only that logic and it performs correctly. Can anyone think of a way to get flash to stop ignoring this line ....
for(e = 0; e < _global.dates.length-1; e++){
if(_global.dates[e] >= rstart.text && _global.dates[e] <= rend.text){
_root.mc.zdate.text += _global.dates[e] + "
";
}
}
The only other way I can do this is to perform an xpath query on an xml file (which works fine) except that I can't then perform subsequent searches on nodes in the result (and tracing always shows the xpath conditions and then the string value?).
Any help would be gretly appreciated as I have this project finished by tomorrow.
Math Actionscript For Flash 8
Hello, does anyone know if there is a book or tutorials out or somewhere where I can get help with generating equations in flash. Most tutorials I see have used a lot of math functions such as math.sin, math.pow, etc... but only for the position of objects on a stage. However I want to display math problems and check the users input. Any suggestions?? Please let me know.
Sample Problems :
(x^2+5)
Thank You
Math Functions In Flash.
A have a little problem using math functions with AS.
Some of them work, some don't, and i can't understand why.
Here's an example:
y=x+2 -- this._y = this._x +2 -- this one works
y=x^2+2x+15 -- this._y= this._x^2 + this_x*2 + 15 -- dosen't works
It is strange, does anyone have an idea how to use this kind of functions with the help of AS?
POM FLASH MATH CREATIVITY
I know you got this book, and I was just wondering if it was worth it. If anyone else has any opinions let me know. It looks good, and i want to get it if ya'll give it some good reviews.
Math And Flash Help, NaN, Rotation
I am working on a file that has a rotating dial, and I'd like the dial to reveal contents of a text field (a link) as the dial points in the direction of the text field. I have 4 text fields located at 90, 180, 270 and 360 degrees (top, bottom, left and right). I have it controlled via AS, so I've got all the Math but I was hoping someone might know how to reveal the links when the arrow (in the dial) is pointing in these directions.
I set up a text field for testing, which shows the degrees, but I'm getting 'NaN' in the field (problems with Theta and converting degrees to Radians, I think). I thought this might help me figure out how to reveal those links, if I can get the NaN to work.
Currently, the file is rotating with an onPress, but I'm going to convert it to a mouse follow, instead, so the user only has to float around to see the links.
Anyone have any Math experience? Please??? (this is driving me crazy)
Flash Ignoring Math - Please Help
I know this sounds strange - but that's what's been happening to me. I have this simple if(condition >= textfield && condition <= another textfield){ statement that works everywhere except in my movie. I can even create another movie with only that logic and it performs correctly. Can anyone think of a way to get flash to stop ignoring this line ....
for(e = 0; e < _global.dates.length-1; e++){
if(_global.dates[e] >= rstart.text && _global.dates[e] <= rend.text){
_root.mc.zdate.text += _global.dates[e] + "
";
}
}
The only other way I can do this is to perform an xpath query on an xml file (which works fine) except that I can't then perform subsequent searches on nodes in the result (and tracing always shows the xpath conditions and then the string value?).
Any help would be gretly appreciated as I have this project finished by tomorrow.
Flash Math & Drawing
Ok, I just finished the Macromedia Training from the Source : Advanced Actionscript book (Excellent read!) So I am now familiar with much of the code of Actionscript.
However one aspect it did not go over was Flash's Mathamatical and Drawing Capabilities.
Can anyone recommend a site that teaches via tutorials and what not how to use Flash's SIN, COS, TAN and other builtin Mathematical capabilities to move objects on arcs and learn about angles?
Also a site/tutorial about using Flash's built in drawing capabilities (defining X/Y locations to draw on the fly lines to different locations, etc.)
I greatly appreciate any help here. Actionscript is some pretty sweet stuff.
[Books]: Fresh Flash And Flash Math Creativity
It seems there isn't a forum about books, so I posted here
I'm interested in these two books: I've just seen them in Levitated.net (they have a fantastic layout ) and in Amazon the users rated them very good. I'd like to know if they cover almost the same topics or both are useful.
Thank you.
Flash MX (should Be Easy) Math Question
I am populating a dynamic text box from four other input text boxes. They have variables named slot1, slot2, slot3, slot4. When I use the code below all I get is the four numbers that were typed in all run together like a string. Any help would begreatly appreciated!
totals = Math.round(slot1 + slot2 + slot3 + slot4);
p.s. totals is the variable name for the dynamic text box.
Thank you in advance,
Ryan Srofe
|