Usamos cookies para medir audiência e melhorar sua experiência. Você pode aceitar ou recusar a qualquer momento. Veja sobre o iMasters.
Alguem teria ai alguma sugestao de como fazer para redimensionar as fotos antes de exibi-las - as fotos originais estao em 400x300
mas o campo do flash para exibi-las em 320x150
"
stop ();
System.useCodepage = true;
Carrega = new LoadVars();
Carrega.load("estrutura/veiculos/flash.php"); // php script controla as informacoes e imagens
Carrega.onLoad = function (sucess)
{
var _loc1 = _root;
if (sucess)
{
for (i = 0; i <= Carrega.num_imagens; i++)
{
_loc1["img_" + i] = Carrega["img_" + i];
_loc1["texto_" + i] = Carrega["texto_" + i];
_loc1["link_" + i] = Carrega["link_" + i];
_loc1.num_imagens = Carrega.num_imagens;
} // end of for
gotoAndPlay(3);
return (null);
} // end if
Carrega.load(_loc1.urlHead);
return (function (sucess)
{
});
};
if (_root.loop == -1)
{
_root.loop = _root.num_imagens;
}
else
{
_root.loop = _root.loop + 1;
} // end else if
if (_root.loop > _root.num_imagens)
{
_root.loop = 1;
gotoAndStop(2);
}
else
{
gotoAndStop(2);
} // end else if
texto = _root["texto_" + _root.loop];
link = _root["link_" + _root.loop];
loadMovie(_root["img_" + _root.loop], imagem);
oq preciso q as imagens seja exibidas em 320x150 ou aproximado disso.Carregando comentários...