Comunidad de diseño web y desarrollo en internet online

AYuda Flash AS2 - JavaScript

Citar            
MensajeEscrito el 05 Feb 2008 05:10 am
ok tengo este codigo

Código :

btn.onRelease = function(){
getURL("javascript:NewWindow=window.open('pagina.html','newWin','width=400,height=300,left=300,top=300,toolbar=No,location=No,scrollbars=No,status=No,resizable=No,fullscreen=No');  NewWindow.focus();      void(0);");
}


bueno hasta ahi todo bien .. pero quiero usar una variable en vez de "pagina.html" algo asi

Código :

_loc05 = movieClip._url;
btn.onRelease = function(){
getURL("javascript:NewWindow=window.open('_loc05','newWin','width=400,height=300,left=300,top=300,toolbar=No,location=No,scrollbars=No,status=No,resizable=No,fullscreen=No');  NewWindow.focus();      void(0);");
}


pero no sale, alguien sabe como declarar bien _loc05 y usarlo correctamente con este codigo :S
gracias :(

Por angelkaido

38 de clabLevel



Genero:Masculino  

firefox
Citar            
MensajeEscrito el 05 Feb 2008 05:54 am

Código :

_loc05 = movieClip._url;
btn.onRelease = function(){
getURL("javascript:NewWindow=window.open('" + _loc05 + "','newWin','width=400,height=300,left=300,top=300,toolbar=No,location=No,scrollbars=No,status=No,resizable=No,fullscreen=No');  NewWindow.focus();      void(0);");
}

Por The Fricky!

Presidente

6168 de clabLevel

3 tutoriales
8 articulos

Genero:Masculino   Bastard Operators From Hell Héroes

Piccola Venezia...

firefox
Citar            
MensajeEscrito el 05 Feb 2008 06:13 am
Señor friky es usted la ONDA xD ( eso en mi tierra es un halago, ser la onda es .. la onda )
por eso tienes ese nivel de KI :x
1364 ... gracias me sirvio tu ayuda muchisimo no sabes cuanto :D

Por angelkaido

38 de clabLevel



Genero:Masculino  

firefox

 

Cristalab BabyBlue v4 + V4 © 2011 Cristalab
Powered by ClabEngines v4, HTML5, love and ponies.