Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
Adobe Flex SDK Previous
-
None
-
None
-
Affected OS(s): All OS Platforms
Language Found: English
Description
Found in trunk 4.0.0.8520.
Steps to reproduce:
1. Compile and run this:
<?xml version="1.0" encoding="utf-8"?>
<s:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
xmlns:s="library://ns.adobe.com/flex/spark"
xmlns:mx="library://ns.adobe.com/flex/halo">
<s:layout>
<s:BasicLayout useVirtualLayout="true" />
</s:layout>
</s:Application>
Actual Results:
No errors. You only see a trace statement in your Debug panel if you happened to debug the app instead of just run it.
BasicLayout.as class has this (line 170+/-):
/**
- The BasicLayout class does not support virtualization.
- Setting this property to <code>true</code> generates a warning.
* - @langversion 3.0
- @playerversion Flash 10
- @playerversion AIR 1.5
- @productversion Flex 4
*/
override public function set useVirtualLayout(value:Boolean):void { if (value) trace("Warning: BasicLayout doesn't support virtualization"); }
Expected Results:
Kaboom. It should RTE with some ArgumentError or whatever.
It doesnt "generate a warning" like the comments imply, it basically just traces that your useVirtualLayout set was illegal.
Workaround (if any):
n/a