Todas las mentes comprar kamagra espana del mundo comprar levitra espana recomiendan comprar priligy espana prevenir problemas

Para crear un link en un Flash (hecho en ActionScript 3) debemos seguir estos pasos:

Primero debemos crear la librería. Vamos a Flash y creamos un nuevo documento AS.

Luego pegamos el siguiente código:

package com.utils { 
   public class PopUp { 
      private var _url:String = ""; 
      private var _width:Number= 400; 
      private var _height:Number= 300; 
      private var _title:String = "title"; 
      private var _resize:String = "yes"; 
      private var _window:String = "_blank"; 
      public function PopUp() { 
      public function openWindow(newUrl:String = null):void{ 
            this.url = newUrl; 
         var _urlRequest:URLRequest=new URLRequest(); 
         _urlRequest.url= "'"+url+"','"+title+"','width="+width+",height="+height+", resizable="+resize+"');newWindow.focus(); void(0);"; 
      public function set url(val:String):void { 
         _url = val; 
      public function get url():String { 
         return _url; 
      public function set width(val:Number):void { 
         _width = val; 
      public function get width():Number { 
         return _width; 
      public function set height(val:Number):void { 
         _height = val; 
      public function get height():Number { 
         return _height; 
      public function set title(val:String):void { 
         _title = val; 
      public function get title():String { 
         return _title; 
      public function set resize(val:String):void  { 
         _resize = val; 
      public function get resize():String { 
         return _resize; 
      public function set window(val:String):void { 
         _window = val; 
      public function get window():String { 
         return _window; 

Este archivo lo ponemos, con el nombre, en una carpeta determinada (si no la tenemos la creamos manualmente): /raíz_del_flash/com/utils/

Entonces para llamarlo utilizamos el siguiente código:

import com.utils.PopUp; 
var t:PopUp = new PopUp(); 
btn1.addEventListener(MouseEvent.CLICK, popUpNormal); 
btn2.addEventListener(MouseEvent.CLICK, popUpEditado); 
function popUpNormal(e:MouseEvent):void { 
   var ir:String; 
function popUpEditado(e:MouseEvent):void { 
   t.title="Estamos en Google"; 
Categorías: Flash
Si necesitas una url corta puede usar:

4 comentarios

  1. I will sincerely say you actually put together a number of great points and I will post a number of good ideas to add in shortly.

  2. My partner and I actually enjoyed reading this blog submit, I used to be simply itching to know do you trade featured posts? I’m at all times trying to find somebody to make trades with and merely thought I might ask.

  3. Keep ‘em coming… you all do such a great job at such Concepts… can’t tell you how much I, for one appreciate all you do!

  4. Thanks for your marvelous posting! I really enjoyed reading it, you can be a great author.I will make certain to bookmark your blog and will eventually come back very soon. I want to encourage you to definitely continue your great writing, have a nice weekend!

Deja un comentario