Forum ActionScript 3.0 uint from AS3?

Problems and discussions relating to ActionScript 3.0 here.

uint from AS3?

Postby patrickford@msn.com » December 14th, 2012, 1:36 pm

Hi All,

Is there any way to store uint values from AS3 to BigDB? We want process some tables from client side and we have found it always tries to save values as int type.

Regards
patrickford@msn.com
Paid Member
 
Posts: 1
Joined: June 26th, 2012, 4:56 pm

Re: uint from AS3?

Postby Benjaminsen » December 18th, 2012, 1:06 pm

Sadly there is not, the AS3 Numbers class does not really support uints internally. Thus we are unable to determine the real type.

The solution we chose simply stores the number in the simplest data form possible. In the case of a number that can fit inside a int, we use an int.

I have written it on the nice to have list to have forced type add methods for DB objects.
Benjaminsen
.IO
 
Posts: 1444
Joined: January 12th, 2010, 11:54 am
Location: Denmark


Return to ActionScript 3.0



cron