標準のスクロールペインについて話している場合は、.source
プロパティが必要です。チェックボックスの名前を追加すると、スクロールペインに表示されます。
複雑なコンテンツを追加したい場合は、空のムービークリップを作成し、それをスクロールペインに配置することをお勧めします。スクロールペインに追加したいものは何でも、このムービークリップに追加してください。
//create your container
var mc:MovieClip = new MovieClip();
//you don't need to add it to the displaylist (addChild(mc))
//now set it as the source of your scrollpane
your_scrollpane.source = mc;
//any time you add a new item
mc.addChild(your_checkbox);
//you can set the properties
your_checkbox.x = 0;
your_checkbox.y = 0;
//and refresh the scrollpane
your_scrollpane.update();
スクロールペインのソースとして作成する前に、mc をセットアップすることもできます。
お役に立てれば。