[flexcoders] How to declare a Complex Type : String + int-

2010-08-09 Thread Nini7016 Nini7016
Hello :) I would like to create a type complex which contains one STRING and One INteger .. How can i declare this type please ?? Any idea please ? Thanks :)

Re: [flexcoders] How to declare a Complex Type : String + int-

2010-08-09 Thread claudiu ursica
, August 9, 2010 2:32:50 PM Subject: [flexcoders] How to declare a Complex Type : String + int- Hello :) I would like to create a type complex which contains one STRING and One INteger .. How can i declare this type please ?? Any idea please ? Thanks :)

Re: [flexcoders] How to declare a Complex Type : String + int-

2010-08-09 Thread Oleg Sivokon
You cannot really have custom types in AS3 or any other ECMAScript language. I'd go for a class with 2 fields for integer and string.

Re: [flexcoders] How to declare a Complex Type : String + int-

2010-08-09 Thread Johannes Nel
wel you could use the variant type var p:* but this is not very neat, nice or efficient to be honest On Mon, Aug 9, 2010 at 2:52 PM, Oleg Sivokon olegsivo...@gmail.com wrote: You cannot really have custom types in AS3 or any other ECMAScript language. I'd go for a class with 2 fields for