Preciso de , mas sou não saco nada de Flash
Olá pessoal,
Preciso muito da ajuda e paciência de todos...necessito entender e posteriormente fazer alterações no código abaixo.
Isso é uma animação que recebe por querystring os dados de alguns textos e imagens e dinamicamente seta os textos de outra parte.
Por favor , se alguém tiver paciência e principalmente tempo para me explicar o código abaixo agradeço
>
function setupTab(tab)
{
tab1Text.text = tabText[0];
tab2Text.text = tabText[1];
tab3Text.text = tabText[2];
if (tab != null)
{
buttons = tab.Split(",");
var i = 0;
while (i < 11)
{
if (buttons*.Split("|")[0] != null && buttons**.Split("|")[0] != "")*
{
eval("buttons.inv" + (i + 1))._visible = true;
}
else
{
eval("buttons.inv" + (i + 1))._visible = false;
} // end if
i++;
} // end while
var i = 0;
while (i < buttons.length)
{
* eval("buttons.b" + (i + 1)).text = buttons**.Split("|")[0];*
if (buttons.Split("|")[2] != null && buttons.Split("|")[2] != "")
{
* eval("buttons.i" + (i + 1)).loadMovie(dataDir + buttons**.Split("|")[2]);*
} // end if
* _level0["id" + (i + 1)] = buttons**.Split("|")[1];*
i++;
} // end while
} // end if
} // End of the function
tabText = new Array("PRODUTOS", "APLICAÇÕES DE MERCADO", "TECNOLOGIA");
if (siteRoot.indexOf("/eu/en/") >= 0)
{
tabText = new Array("PRODUCTS", "MARKET APPLICATIONS", "TECHNOLOGY");
}
else if (siteRoot.indexOf("/eu/fr/") >= 0)
{
tabText = new Array("PRODUITS", "APPLICATIONS MÉTIER", "TECHNOLOGIE");
}
else if (siteRoot.indexOf("/eu/de/") >= 0)
{
tabText = new Array("PRODUKTE", "ANWENDUNGEN", "TECHNOLOGIE");
}
else if (siteRoot.indexOf("/la/en/") >= 0)
{
tabText = new Array("PRODUCTS", "MARKET APPLICATIONS", "TECHNOLOGY");
}
else if (siteRoot.indexOf("/la/es/") >= 0)
{
tabText = new Array("Productos", "Aplicaciones de Mercado", "Tecnología");
}
else if (siteRoot.indexOf("/ap/en/") >= 0)
{
tabText = new Array("PRODUCTS", "MARKET APPLICATIONS", "TECHNOLOGY");
} // end if
Discussão (1)
Carregando comentários...