I'm trying to pull a variable from an arrayCollection which I know is
type String.

 

Here's the code:

 

      public var strEMail:String;

            ...

Private function ... 

{

            strEMail = GlobalVars.instance.acUser.getItemAt(0);

}

 

That above line of course throws an error because it's not sure that the
variable at (0) is actually a string even though I know it is.  In C++ I
would just tell it using a typecast that it is a string.

 

How can I copy that element into a variable?

 

Thanks!

Reply via email to