MovieClip.prototype.tabEnabled = false;
Button.prototype.tabEnabled = false;
Stage.scaleMode = "noScale";
Stage.align = 'TL';
function go() {
if(_root.id.length > 0) {
if(_root.ie == 'true') {
fscommand("go",_root.lnk);
} else {
getURL(_root.lnk,'_blank');
}
}
}
function fechar() {
if(_root.id.length > 0) {
if(_root.ie == 'true') {
fscommand("fecha","");
} else {
getURL('java script:fechaBannerGlb("' +_root.div+ '");');
}
}
}
Função de click:
on(release) {
_root.go();
}
Função do botão de fechar:
on(release) {
_root.fechar();
}




0 comentários:
Postar um comentário