Usamos cookies para medir audiência e melhorar sua experiência. Você pode aceitar ou recusar a qualquer momento. Veja sobre o iMasters.
Caros,
sou novo por aqui como membro, mas acompanho os post a algum tempo. Estou com um problema. Fiz uma galeria de fotos interagindo Flash e PHP usando ActionScript 2.0. Quando compilo o SWF tudo funciona OK, mas quando visualizo no HTML as fotos não carregam, ou melhor, elas carregam inicialmente, e depois param de carregar. A url do loadMovie esta correta, mas mesmo assim não exibe a foto
alguma ideia do que pode estar acontecendo?
tavez ajude mostrar a action
>
function carregarDados():Void {
var numero = this.num;
if (numero>0 && numero != undefined) {
spacing = 100;
for (indice=1; indice<=numero; indice++) {
// resgatando variaveis
var mnome = this['nome'+indice];
var mimagem = this['imagem'+indice];
var mdescricao = this['descricao'+indice];
var mlargura = this['largura'+indice];
var maltura = this['altura'+indice];
// criando movie clips
this.thumbHolder = _parent.todas_fotos.foto.duplicateMovieClip("thumb_"+indice, indice);
this.thumbHolder._alpha = 100;
this.thumbHolder._y = (indice-1)*spacing+10;
this.thumbHolder.titulo.text = mnome;
this.thumbHolder.foto_tumb.loadMovie(mimagem);
//ajustando imagens
if (mlargura>this.thumbHolder.foto_tumb._width) {
var pct = this.thumbHolder.foto_tumb._width*100/mlargura;
var ajuste = pct-100;
this.thumbHolder.foto_tumb._xscale = pct;
}
if (maltura>this.thumbHolder.foto_tumb._height) {
var pct = this.thumbHolder.foto_tumb._height*100/maltura;
var ajuste = pct-100;
this.thumbHolder.foto_tumb._yscale = pct;
}
this.thumbHolder.foto_tumb._x = 0;
this.thumbHolder.foto_tumb._y = 0;
this.thumbHolder.texto = mdescricao;
this.thumbHolder.nome = mnome;
this.thumbHolder.imagem = mimagem;
this.thumbHolder.largura = mlargura;
this.thumbHolder.altura = maltura;
this.thumbHolder.onRelease = function() {
_parent._parent.fotografia = this.imagem;
_parent._parent.fotoaltura = this.altura;
_parent._parent.fotolargura = this.largura;
_parent._parent.foto_grande.carregada.unloadMovie();
_parent._parent.foto_grande.carregada.loadMovie(this.imagem);
_parent._parent.foto_grande.legenda.text = this.nome;
_parent._parent.foto_grande.descricao.text = this.texto;
};
}
}
}
ninguem faz ideia?
eu percebi que o IE8 funciona normalmente
Carregando comentários...