Details
-
Bug
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
Adobe Flex SDK Previous
-
None
-
Affected OS(s): All OS Platforms
Language Found: English
Description
Steps to reproduce:
1. compile the attached test case.
Actual Results:
gettersDeprecated_attributeBinding.mxml(12): Warning: 'identification' has been deprecated.
<mx:Button enabled="
gettersDeprecated_attributeBinding.mxml(13): Warning: 'y' has been deprecated. Please use 'newY()'.
width="{dg.width}" height="{dg.height}" x="{dg.x}" y="{dg.y}" />
gettersDeprecated_attributeBinding.mxml(14): Warning: 'dataProvider' has been deprecated since 3.0. Please use 'data'.
<mx:List dataProvider="{dg.dataProvider}" />
gettersDeprecated_attributeBinding.mxml(15): Warning: deprecated for testing
<mx:Text text="{dg.description}" />
Expected Results:
warnings are also expected for other deprecated attributes like visible, enabled etc.
Workaround (if any):
make sure only one attribute is specified per line. like:
<mx:Button
enabled="{dg.enabled}
"
visible="
"
label="
"
width="
"
height="
"
x="
"
y="
" />