Jan 29, 2008

Open a chromeless window from flash

First, on your HTML source paste this after the < / HEAD > tag:
  1. function abrir_ventana(pagina,nombre,propiedades) {
  2. window.open(pagina,nombre,propiedades);
  3. }

Then, on your flash button, this:

  1. on(release){
  2. getURL("javascript:abrir_ventana('pelicula.swf','imagen','width=300,height=300')")
  3. }

Voila.

No comments: