Featured FLA
» Author: Nitin Tikhe
» Title: Cart
» Description: This Animation Tut is a fun and useful for kids below 15 years. Watch the Flag, Doors, Stick and Horse movements.
» More by Nitin Tikhe
Featured Site
» Posted in the Flash Kit Links section
» Title: Banana Swimwear
» Description: This is a banana swim wear interactive catalog we designed and animated in Flash
Numeric Operators are very straight forward. There are two types - Arithmetic and Comparison which can only be used on NUMBERS!! So if Flash catches you using these on strings prepare yourself for some errors!
Arithmetic Operators
+
-
/
*
Add two numbers together
Subract a number from another number
Divide a number by another
Multiply two numbers together
Examples:
Set Variable: "units" = 5
Set Variable: "cost" = 10
Set Variable: "price" = 20
Set Variable: "profit" = (price - cost)*5
Comparison Operators
=
<> >
< >=
<=
Equals
Not Equals
Greater Than
Less Than
Greater Than or Equal to
Less Than or Equal to
Examples:
If (input < number)
Set Variable: "status" = "guess a higher number"
Else If (input > number)
Set Variable: "status" = "guess a lower number"
Else If (input = number)
Set Variable: "status" = "Correct!!"
Go to and Play("end")
End If
Eddie is the Content Editor at Flashkit.com and is actually a sentient Gateway Solo 2150xl notebook that suffers from acute lysdexia and caffeine addiction. He is carried on the shoulders of a semi-autonomous human called "Body".