If you need null you should use Integer (object not int primative) in java. In flex I'm not sure.
On Thu, Sep 10, 2009 at 8:31 PM, Jon Gunnip <jongun...@gmail.com> wrote: > David, > > The "int" primitive type in Java and Flex cannot be null. They both > default to 0. If you have, > > var myInt:int; // ActionScript > int myInt; // Java > > then that is the same as initializing myInt to 0. > > Jon > > On Thu, Sep 10, 2009 at 11:13 AM, whiskerstasters <sailorse...@yahoo.com> > wrote: > > Hi Tom, > > in my BlazeDS Debug, all my int variables are set to 0. > > My flex object variables of type int are pre-set to null and some are not > set. > > > > When debuging Flex, I noticed Flex automatically sets my variables to 0. > > > > Why does this happen? > > > > Thank you. > > > > -David > > > > > > > > > > ------------------------------------ > > > > -- > > Flexcoders Mailing List > > FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt > > Alternative FAQ location: > https://share.acrobat.com/adc/document.do?docid=942dbdc8-e469-446f-b4cf-1e62079f6847 > > Search Archives: > http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! Groups > Links > > > > > > > > > > > ------------------------------------ > > -- > Flexcoders Mailing List > FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt > Alternative FAQ location: > https://share.acrobat.com/adc/document.do?docid=942dbdc8-e469-446f-b4cf-1e62079f6847 > Search Archives: > http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! Groups > Links > > > >