
function PlugInFlashDef(name,type,id,FSCommand,OnProgress,OnReadyStateChange) {
	this.name = name;
	this.type = type;
	this.id = id;
	this.Back = Flash_Back;
	this.Forward = Flash_Forward;
	this.SetZoomRect = Flash_SetZoomRect;
	this.Zoom = Flash_Zoom;
	this.Pan = Flash_Pan;
	this.play = Flash_play;
	this.rewind = Flash_rewind;
	this.stop = Flash_stop;
	this.FSCommand = FSCommand;
	this.OnProgress = OnProgress;
	this.OnReadyStateChange = OnReadyStateChange;
	this.getElementID = getElementID;
	this.elementResolved = elementResolved;
	this.elementID = null;
}

function Flash_Back() {
	if (this.elementResolved()) return this.elementID.Back();
}

function Flash_Forward() {
	if (this.elementResolved()) return this.elementID.Forward();
}

function Flash_SetZoomRect(left,top,right,bottom) {
	if (this.elementResolved()) return this.elementID.SetZoomRect(left,top,right,bottom);
}

function Flash_Zoom(percent) {
	if (this.elementResolved()) return this.elementID.Zoom(percent);
}

function Flash_Pan(x,y,mode) {
	if (this.elementResolved()) return this.elementID.Pan(x,y,mode);
}

function Flash_play() {
if (this.elementResolved()) return this.elementID.Play();
}

function Flash_rewind() {
if (this.elementResolved()) return this.elementID.Rewind();
}

function Flash_stop() {
if (this.elementResolved()) return this.elementID.Stop();
}

