3 Replies Latest reply on Apr 6, 2010 4:34 PM by danwize

    Problems using Vector in Flex Builder 3


      I've been using Vector with no problems in Flash Builder Beta, but when I try the same thing in Flex Builder 3, the compiler throws a fit when I use it. 


      public function PuzzleEvent(type:String, pieces:Vector.<Sprite>, bubbles:Boolean=false, cancelable:Boolean=false)


           //handle PuzzleEvent



      The other strange thing is, Flex automatically adds this line when I use vector:

      import __AS3__.vec.Vector;


      An import shouldn't be necessary should it?  Vector is in the top level package right?  With or without that import statement, I get compile errors.  Has anyone else had such problems with vector in Flex Builder?