Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    New to the CF scene
    Join Date
    Aug 2009
    Posts
    4
    Thanks
    1
    Thanked 0 Times in 0 Posts

    How to handle Enum in Action Script

    Hi,


    I am using flex remoting with Blaze DS 3.2 to communicate with Java Server Objects. I am creating equvivalent value objects in AS3 for java server objects.


    I have a java User class which has userType enum. How do i write the equivalent AS value object for the User object?


    Thanks,

  • #2
    Senior Coder nikos101's Avatar
    Join Date
    Dec 2006
    Location
    London
    Posts
    1,007
    Thanks
    59
    Thanked 10 Times in 10 Posts
    I would just manually type in the Char

    'y'

    or 'y'

    etc



  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •