データグリッド コンポーネントが壊れているようです。
ステージ上にドラッグすると、ただの正方形です。何も入っていません。ただの四角...
次に、ドキュメントの例を使用してプログラムでステージに追加しようとすると、いくつかのエラーがスローされます。
http://livedocs.adobe.com/flash/9.0/ActionScriptLangRefV3/fl/controls/DataGrid.html
import fl.controls.DataGrid;
var myDataGrid:DataGrid = new DataGrid();
エラー:
1172: Definition fl.controls:DataGrid could not be found.
1046: Type was not found or was not a compile-time constant: DataGrid.
1180: Call to a possibly undefined method DataGrid.
プログラムを完成させるために DataGrid を使用する必要があることを考えると、これは非常に悪いように思えます。
私は何を間違っていますか?どうすれば修正できますか? これはメイン タイムラインのフレーム 1 にある AS3 です。