Details
-
Bug
-
Status: Open
-
Major
-
Resolution: Unresolved
-
Adobe Flex SDK 3.6 (Release)
-
None
-
None
-
Affected OS(s): Mac
Affected OS(s): Mac OS 10.6
Language Found: English
Description
Steps to reproduce:
1. Create a pre-populated vector in the project, e.g. var elements : Vector.<Sprite> = new <Sprite>[el1, el2, el3];
2. Compile the project
Actual Results: compilation fails with:
ERROR /Users/.../Main.as[13:48]:
Syntax error: XML does not have matching begin and end tags.
var elements : Vector.<Sprite> = new <Sprite>[el1, el2, el3];
ERROR /Users/.../Main.as[13:48]:
Syntax error: expecting rightbrace before end of program.
var elements : Vector.<Sprite> = new <Sprite>[el1, el2, el3];
ERROR /Users/.../Main.as[13:48]:
Syntax error: expecting rightbrace before end of program.
var elements : Vector.<Sprite> = new <Sprite>[el1, el2, el3];
ERROR /Users/.../Main.as[13:48]:
Syntax error: expecting rightbrace before end of program.
var elements : Vector.<Sprite> = new <Sprite>[el1, el2, el3];
Expected Results: since the documentation at http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/Vector.html#Vector() claims it should work with Flash Player 10, one could expect the above to work as well.
Workaround (if any): Use Flex SDK 4.0+.