I have never seen this type of error before. I was running the asdoc tool when I got the issue to:
package adventureGame.util
{
import mx.collections.ArrayCollection;
public class ACConvertor
{
public function toAC(array:Array):ArrayCollection
{
var arrayObject:Array = new Array();
var ac:ArrayCollection = new ArrayCollection();
return ac = arrayObject as ArrayCollection;
}
}
}
Why am I getting:
ACConvertor.as(31): col: 37 Error: Type was not found or was not a compile-time constant: ArrayCollection.
public function toAC(array:Array):ArrayCollection
North America
Europe, Middle East and Africa
Asia Pacific