Details
-
Improvement
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
Adobe Flex SDK Previous
-
None
-
None
-
Affected OS(s): All OS Platforms
Affected OS(s): All OS Platforms
Language Found: English
Description
Steps to reproduce:
1. Create an AS class:
package
{
/* Not extending RuntimeDPIProvider class */
public class InvalidClass1
{
public function get runtimeDPI():Number
{ return 100; } }
}
2. Specify it as <s:Application runtimeDPIProvider="InvalidClass1" />
3. Run the app.
Actual Results: No overriding happens. The app just runs as normal.
Expected Results: Since there is no warning or error, it may not be obvious if users unintentionally set an invalid class. I don't know if this is possible but it would be nice to inform users the class is not properly implemented.
Workaround (if any):