code snippets were given like this in a few boxes for
Simple Camera Panning - by senocular
this.createEmptyMovieClip(“theScene”, 1);
theScene._x = 150;
theScene._y = 150;
displayFigure = function(){
var angle = this.angle + cameraView.rotation;
var x = Math.cos(angle)*this.radius;
var z = Math.sin(angle)*this.radius;
var y = this.y;
if (z > 0){
if (!this._visible) this._visible = true;
var scaleRatio = focalLength/(focalLength + z);
this._x = x * scaleRatio;
this._y = y * scaleRatio;
this._xscale = this._yscale = 100 * scaleRatio;
this.swapDepths(Math.round(-z));
}else{
this._visible = false;
}
};
now, where am i to place these, the 1 st frame ???