Details
-
Bug
-
Status: Closed
-
Trivial
-
Resolution: Not A Problem
-
Adobe Flex SDK Previous
-
None
-
None
-
Affected OS(s): All OS Platforms
Language Found: English
Description
Steps to reproduce:
1. Specify applicationDPI using the bound variable.
<?xml version="1.0" encoding="utf-8"?>
<s:ViewNavigatorApplication xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:s="library://ns.adobe.com/flex/spark" firstView="views.bug1HomeView"
applicationDPI="
">
<fx:Script>
<![CDATA[
[Bindable]
private var myDPI:int = mx.core.DPIClassification.DPI_160;
]]
>
</fx:Script>
</s:ViewNavigatorApplication>
2. Get applicationDPI value at runtime.
Actual Results: applicationDPI is 0.
Expected Results: I guess this is NAB. Just binding expression doesn't work for applicationDPI. But returning 0 was a bit puzzling to me.
Workaround (if any):