Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
Adobe Flex SDK Previous
-
None
-
None
-
Affected OS(s): Windows
Affected OS(s): Windows XP
Language Found: English
Description
Steps to reproduce:
1. Create a state (State1)
2. Create another state (State2)
3. Set the basedOn property of State2 equal to State1: <s:State name="State2" basedOn="State1"/>
4. Build.
Actual Results:
Syntax error: expecting identifier before rightparen. [Generated code (use -keep to save): Path: C:\Documents and Settings\*********-generated.as, Line: 111, Column: 6]
The actual syntax error is double-quotes in the basedOn property assignment:
states = [
new State ({
name: "State2",
basedOn: ""State1"",
overrides: [
new AddItems().initializeFromObject(
)
]
})
];
Expected Results:
There should only be one set of quotes around the value for the basedOn property in the generated .as.
Workaround (if any):
None.