Details
-
Bug
-
Status: Open
-
Major
-
Resolution: Unresolved
-
Adobe Flex SDK Previous
-
None
-
None
-
Affected OS(s): Mac
Affected OS(s): Mac OS 10.5
Browser: Firefox 3.x
Language Found: English
Description
Steps to reproduce:
1. in main application mxml:
[Bindable]
public static var COLOR_TAB:Array;
[Bindable]
public static var COLOR_TAB_LEN:int;
in the preinit code:
// START STATIC BLOCK INITIALIZATION
COLOR_TAB = new Array(0xFF0000, 0xFF0033, 0xFF0066, 0xFF0099,0x00CCCC,
0x00FFCC, 0x00FF99, 0x00FF33, 0x00FF33, 0x66FF00, 0x00DDCC, 0x00DDCC, 0x00DDCC, 0xCCFF00,
0x99FF00, 0x99FF00, 0x00DD88, 0x00DD44, 0x00FF99, 0x00CC33, 0x00CC33, 0x33FF00, 0x22FF00);
COLOR_TAB_LEN = COLOR_TAB.length;
// END STATIC BLOCK INITIALIZATION
2. in a component mxml:
if (val < FlexGlobals.topLevelApplication.COLOR_TAB_LEN) {
3.
Actual Results:
starting the application in the debugger
ReferenceError: Error #1069: Property COLOR_TAB_LEN not found on castlewrfy10 and there is no default value.
Expected Results:
application startup ok
Workaround (if any):
remove the static references
this app built with flashbuilder 4 / build 272416 ran in firefox with flash player version 10.0.45.2 (debug)