This is My Problem - Help A beginner

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 ???

don’t cross post.

as i mentioned earlier, that is frame code. I would imagine that would go on the first frame, but i would know without seeing the associated tutorial. That code is meaningless unless you know how to use it. All that code does is create an empty movie clip and define a function.