This file contains hidden or 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 people.jobs; | |
import traits.ITrait; | |
import traits.Trait; | |
/** | |
* Example trait interface | |
* |
This file contains hidden or 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.StageAlign; | |
import flash.display.StageScaleMode; | |
import flash.Lib; | |
import ru.stablex.ui.UIBuilder; | |
import ru.stablex.ui.widgets.Bmp; | |
import ru.stablex.ui.widgets.Widget; | |
import ru.stablex.ui.widgets.HBox; |
This file contains hidden or 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
import haxe.macro.Context; | |
import haxe.macro.Type; | |
class Builder{ | |
macro static public function getSpriteClass () : Type { | |
var cls : String = ( | |
Context.defined("custom_base") | |
? Context.definedValue("custom_base") | |
: "flash.display.Sprite" //by default use this class |
This file contains hidden or 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 pony.flash; | |
import haxe.macro.Expr; | |
import pony.events.Signal; | |
#if !macro | |
import flash.external.ExternalInterface; | |
#end | |
/** | |
* ... | |
* @author AxGord | |
*/ |
This file contains hidden or 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.Shape; | |
import flash.display.Sprite; | |
import flash.Lib; | |
import motion.Actuate; | |
class Main extends Test<Shape>{ | |
/** this setter is not called on tweening */ |
This file contains hidden or 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 ; | |
/** | |
* Base class | |
* | |
*/ | |
class Base{ | |
}//class Base |
This file contains hidden or 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 fst.exception; | |
import haxe.CallStack; | |
/** | |
* Exceptions base | |
* | |
*/ | |
class Exception { |
This file contains hidden or 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 datetime.DateTime; | |
import datetime.Timezone; | |
class Test { | |
static public function main () { | |
var utc = DateTime.now(); | |
var zone = Timezone.local(); |
This file contains hidden or 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
import haxe.macro.Context; | |
import haxe.macro.Expr; | |
import haxe.macro.Type; | |
using haxe.macro.Tools; | |
class Main | |
{ |
This file contains hidden or 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
@:native('\\phpmailerNamespace\\PHPMailer') | |
extern class PHPMailerNative | |
{ | |
public function addAttachment( path : String, name : String = "", encoding : String = "base64", type : String = "", disposition : String = "attachment" ) : Bool | |
} | |
class PHPMailer extends PHPMailerNative | |
{ | |
override public function addAttachment( path : String, name : String = "", encoding : String = "base64", type : String = "", disposition : String = "attachment" ) : Bool |
OlderNewer