
16/06/2008, 17:36
|
| | Fecha de Ingreso: abril-2008
Mensajes: 22
Antigüedad: 17 años Puntos: 0 | |
fpanoramic Necesito hacer unas panoramicas en flash y hasta ahora utilizaba el fpanoramic pero era para flash mx y ahora utilizo el flash cs3 y me da un error que no se como solucionarlo.
Lo que me pone es lo siguiente: Se espera nombre de parámetro FPanoramic.prototype.loadImage = function(imagePath, scale_x, scale_y, autoSpin, static) El operador '=' debe ir seguido de un operando this.options.objectName = static;
El problema es en la carga de la foto:
// load the jpg image into
// -----------------------
FPanoramic.prototype.loadImage = function(imagePath, scale_x, scale_y, autoSpin, static)
{
this.init();
this.options.imagePath = imagePath;
this.options.objectName = static;
this.options.autoSpin = autoSpin || false;
this.options.image_xscale = scale_x || 100;
this.options.image_yscale = scale_y || 100;
this.imageContainer._xscale = this.options.image_xscale;
this.imageContainer._yscale = this.options.image_yscale; |