我正在使用FlashDevelop來開發Flex應用程序,並希望在面板中繪製LineChart。我使用了Adobe自己的例子here。在Flex中使用LineChart時未找到文件類型
當我編譯它的FlashDevelop呈現以下輸出
file type was not found or was not a compile-time constant
兩種線型圖和AreaChart。
有人可以告訴我爲什麼會發生這種情況嗎?我也通過導入mx.charts.LineChart在代碼中嘗試了它,我的代碼完成找到了這些類,但編譯時發生了相同的錯誤。