ActionScript 3.0 :: How To Do Enums

May 10, 2008

I can gather looking online and trying different things, there seems to be a couple of ways to solve the problem of using enum statements in AS3.First, simply define a whole list of public static const ints at the top of an actionscript file, preferably the one using the enum constants most often. For example:[code]

View 2 Replies


Similar Posts:


Java :: Error When Implementing Enums Using AS 3

Sep 22, 2010

Ours is a Flex/Parsley/Blazeds/Spring project & I'm trying to implement java Enums in Actionscript3 and all I have to do is to send the Enum value to Spring service method.

The Java Enum Code (this is generated from XSD)
public enum ReferenceLookupType {
PATIENT_VISIT_TYPE("PATIENT_VISIT_TYPE"), PATIENT_STATUS("PATIENT_STATUS"),
PATIENT_VISIT_INVALID_REASON("PATIENT_VISIT_INVALID_REASON"),
LIPID_PREFILLED_CODE("LIPID_PREFILLED_CODE");
private final String value;
[Code] .....
How to implement Enums in Actionscript the right way.

View 1 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved