adammichaelhegge
asked on
Flash AS2 - Convert String to Integer from flashvars string
I am importing a number into my flash video using flashvars. I need to read the number as integer, but I am having trouble converting the value to an integer. Here is what I currently have...
var current_percentage = _root.var1;
current_percentage = parseInt(current_percentag e);
current_percentage = Number(current_percentage) ;
...no luck w/ that. I need the current_percentage value to be an integer.
Thanks in advance.
Adam
var current_percentage = _root.var1;
current_percentage = parseInt(current_percentag
current_percentage = Number(current_percentage)
...no luck w/ that. I need the current_percentage value to be an integer.
Thanks in advance.
Adam
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER