Created
September 26, 2013 01:09
-
-
Save bitforth/6708479 to your computer and use it in GitHub Desktop.
Primera parte del tutorial de como crear Singletons en ActionScript 3
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package | |
{ | |
import flash.display.Sprite; | |
public class Singleton extends Sprite | |
{ | |
public function Singleton() | |
{ | |
ClasePrivada.mensaje(); | |
} | |
} | |
} | |
//Fin del paquete | |
//*************** | |
//Inicia clase privada | |
class ClasePrivada; | |
{ | |
public function ClasePrivada():void | |
{ | |
trace("Soy una clase Privada"); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment