Vânder. 0 Denunciar post Postado Janeiro 31, 2007 Oii..Tudu Bemm?Gostaria de saber qual action script preciso colocar em cima de um Movie clip no flash para que quando clicar no movie clip abrir uma janela pop up?Se puder me ajudar, deixe uma resposta ai.Muuuito obrigadoo.Fique com DeusAbraçõs. Compartilhar este post Link para o post Compartilhar em outros sites
Diego Guimarães 0 Denunciar post Postado Janeiro 31, 2007 Coloca isso em um frame, não no mc! nome_do_mc.onRelease = function popup() { url = "www.asf.com.br"; windowname = "asdf"; windowproperties = 'width=300,height=300'; getUrl("java script:window.open('" add url add "','" add windowname add "','" add windowproperties add "'); void(0);");} Compartilhar este post Link para o post Compartilhar em outros sites
Vânder. 0 Denunciar post Postado Janeiro 31, 2007 Diego, o "flash" falo que tem um erro nessa action, e o erro é esse: **Error** Symbol=Symbol 107, layer=Layer 10, frame=1:Line 1: Function declaration not permitted here nome_do_mc.onRelease = function popup() { Total ActionScript Errors: 1 Reported Errors: 1 gostaria que me ajudasse a concertar esse erro, e também, eu gostaria de saber aonde tenho que alterar na action: em.. nome_do_mc. : O NOME DO MOVIE CLIP AONDE A PESSOA VAI CLICAR PRA APARECER A JANELA POPUP url = "www.asf.com.br" : O ENDEREÇO DA PÁGINA QUE IRÁ ABRIR EM JANELA POPUP windowproperties = 'width=300,height=300'; : TAMANHO DESEJADO DA JANELA POPUP Modifico na action apenas nessas três "actions" acima? Abraçõ. Fique com Deus http://forum.imasters.com.br/public/style_emoticons/default/grin.gif CODIGO: nome_do_mc.onRelease = function popup() { url = "www.asf.com.br"; windowname = "asdf"; windowproperties = 'width=300,height=300'; getUrl("java script:window.open('" add url add "','" add windowname add "','" add windowproperties add "'); void(0);");} Compartilhar este post Link para o post Compartilhar em outros sites
Diego Guimarães 0 Denunciar post Postado Janeiro 31, 2007 Ops.. teve um erro msm.. eheheh muda ae:nome_do_mc.onRelease = function () {e você muda as variáveis: url, windowname, windowpropertiesqualquer coisa é só falr! Compartilhar este post Link para o post Compartilhar em outros sites
Vânder. 0 Denunciar post Postado Janeiro 31, 2007 a taaa.brigadoo aee.mais emmm.ele sôo funciona quando hospeda na Net nee?abraçõ Compartilhar este post Link para o post Compartilhar em outros sites
Vânder. 0 Denunciar post Postado Janeiro 31, 2007 Hospedei aqui e nao funcionou. :/ acessa o site ae: http://www.vrmweb.kit.net/portfolio.html e clica no primeiro quadradinho da página. pq lá que ta a action. olha a página que vai abrir. :L Compartilhar este post Link para o post Compartilhar em outros sites
Diego Guimarães 0 Denunciar post Postado Janeiro 31, 2007 otro errinho.. ehehehlinha 5 - getUrl("java script:window.open('" add url add "','" add windowname add "','" add windowproperties add "'); void(0);"); Compartilhar este post Link para o post Compartilhar em outros sites
Eder Fortunato 15 Denunciar post Postado Janeiro 31, 2007 é nessa parte, nome_do_mc.onRelease = function popup() { url = "www.asf.com.br"; windowname = "asdf"; windowproperties = 'width=300,height=300'; getUrl("java script:window.open('" add url add "','" add windowname add "','" add windowproperties add "'); void(0);"); } o "javascript" é junto, parece q o forum separa, tenta ai Compartilhar este post Link para o post Compartilhar em outros sites
Vânder. 0 Denunciar post Postado Janeiro 31, 2007 será que funciona agora?fico assim o código:logo1.onRelease = function () { url = "www.asf.com.br"; windowname = "asdf"; windowproperties = 'width=300,height=300'; getUrl("java script:window.open('" add url add "','" add windowname add "','" addwindowproperties add "'); void(0);");}é isso mesmo!?e nao preciso colocar nadá no códigoo da PÀGINA nao? Compartilhar este post Link para o post Compartilhar em outros sites
Diego Guimarães 0 Denunciar post Postado Janeiro 31, 2007 ah.. é isso msm... toda vez eu escrevo "javascript" e o fum coloca: java script... Compartilhar este post Link para o post Compartilhar em outros sites
Vânder. 0 Denunciar post Postado Janeiro 31, 2007 Opaaa.Blzzz.peraée que to testantoo aqui! Compartilhar este post Link para o post Compartilhar em outros sites
Vânder. 0 Denunciar post Postado Janeiro 31, 2007 Diego. deu tudo certo aque. Da uma olhadinha no site ai e clique no primeiro "quadradinho": http://www.verteri.kit.net/portfolio12.html Vlwww. Muuito obrigado aee. Me add como amigo aii.. ;) ja te add aki. Abraçõ! Eder, brigado aee tbm pela ajuda. pois o problema era esse "javascript" Abraçõoo! Compartilhar este post Link para o post Compartilhar em outros sites