Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

swf inserido no dreamweaver não funciona o botão para carregar um link numa outra aba do navegador

Community Beginner ,
Apr 21, 2016 Apr 21, 2016

Acontece que eu inserir um swf no dreamweaver, de um mapa territorial de um estado aqui no Brasil , e configurei um botão com o as3 no animate para abrir uma uma nova janela no browser . Quando exporto o swf no animate ele funciona, mas quando abro no browser não acontece nada .

TOPICS
ActionScript
435
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Apr 21, 2016 Apr 21, 2016

this is probably better answered in the dreamweaver forum.

i'll leave it here for now but my impression is that mixing dreamweaver with flash/animate is problematic so, i think, most flash/animate users don't use dreamweaver.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Apr 21, 2016 Apr 21, 2016

Ok, vou tentar também no forum de dreamweaver, obrigado!

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Engaged ,
Apr 21, 2016 Apr 21, 2016

Dentro do Animate os links externos já são liberados pois as políticas de segurança estão desativadas para uso local. Se você levar para o Dreamweaver ele vai usar o plugin flash do Browser que tem as políticas de segurança para links locais desativadas por segurança.

Tente acessar através de um servidor local ou publicar a página e se assegurar que está funcionando.

Você pode também reconfigurar as opções de segurança para permitir links de conteúdo local para testar:
https://www.macromedia.com/support/documentation/br/flashplayer/help/settings_manager.htmlAdobe - Flash Player: Gerenciador de configurações - painel Configurações de segurança global

Tenha certeza de reativar novamente depois do teste.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Apr 21, 2016 Apr 21, 2016

Usei um servidor local aqui no pc e funcionou !!! Valeu Lauro ... muito tempo que não uso o flash, não sabia do bloqueio.

Então esse projeto hospedado num servidor de internet próprio funciona normalmente, bloquios?

Valew cara, obrigado!

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Apr 21, 2016 Apr 21, 2016

O código AS3 que inserir no botão foi esse:

paodeacucar.addEventListener(MouseEvent.CLICK, onMouseClick);

function onMouseClick(evento:MouseEvent):void

{

var request:URLRequest = new URLRequest("http://www.semarh.al.gov.br");

navigateToURL(request, "_blank");

}

Mas quando abro o swf no navegador o botão não funciona.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Engaged ,
Apr 21, 2016 Apr 21, 2016
LATEST

Que bom que funcionou!

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines