- 01
- 02
- 03
- 04
- 05
- 06
- 07
- 08
- 09
- 10
- 11
- 12
- 13
- 14
- 15
- 16
- 17
- 18
- 19
var cam:Camera;
/*
TODO: camerName here is actually camerIndex - this is what view is sending back, it can send the name and in that case, we will need
to find the index by name
*/
Logger.getInstance().debug("startSetCamera: " + cameraName);
if(!cameraName || cameraName == "")
{
cam = getDefaultCamera();
}
else if(Camera.getCamera(cameraName))
{
cam = Camera.getCamera(cameraName);
}
else
{
cam = null; // А вдруг?!
}
Комментарии (0) RSS
Добавить комментарий