I want to set the SkyBox as ON/OFF in run time.
But I have find out there is a bug on visible setting of skybox, it is not working at all.
whatever you set visible=true or visible=false, it always display as ON
var cubeMap:BitmapCubeTexture = new BitmapCubeTexture(new PosX().bitmapData, new NegX().bitmapData, new PosY().bitmapData, new NegY().bitmapData, new PosZ().bitmapData, new NegZ().bitmapData);
_skyBox = new SkyBox(cubeMap);
_skyBox.visible = false; // true or false; but always display
_scene.addChild(_skyBox);