فهرست منبع

package change

Nicolas Cannasse 20 سال پیش
والد
کامیت
4229ad94b9

+ 2 - 0
std/flash/Accessibility.hx

@@ -1,3 +1,5 @@
+package flash;
+
 extern class Accessibility
 {
 	static function isActive() : Bool;

+ 2 - 0
std/flash/AsBroadcaster.hx

@@ -1,3 +1,5 @@
+package flash;
+
 extern class AsBroadcaster {
 	static function initialize(o : Dynamic) : Void;
 }

+ 1 - 0
std/flash/Boot.hx

@@ -22,6 +22,7 @@
  * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH
  * DAMAGE.
  */
+package flash;
 
 class Boot {
 

+ 2 - 0
std/flash/Camera.hx

@@ -1,3 +1,5 @@
+package flash;
+
 extern class Camera
 {
 	static var names:Array<String>;

+ 2 - 0
std/flash/Color.hx

@@ -1,3 +1,5 @@
+package flash;
+
 extern class Color
 {
 

+ 2 - 0
std/flash/Key.hx

@@ -1,3 +1,5 @@
+package flash;
+
 extern class Key
 {
 	static function getAscii():Int;

+ 35 - 0
std/flash/Lib.hx

@@ -0,0 +1,35 @@
+/*
+ * Copyright (c) 2005, The haXe Project Contributors
+ * All rights reserved.
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions are met:
+ *
+ *   - Redistributions of source code must retain the above copyright
+ *     notice, this list of conditions and the following disclaimer.
+ *   - Redistributions in binary form must reproduce the above copyright
+ *     notice, this list of conditions and the following disclaimer in the
+ *     documentation and/or other materials provided with the distribution.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE HAXE PROJECT CONTRIBUTORS "AS IS" AND ANY
+ * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
+ * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
+ * DISCLAIMED. IN NO EVENT SHALL THE HAXE PROJECT CONTRIBUTORS BE LIABLE FOR
+ * ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
+ * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
+ * CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
+ * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
+ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH
+ * DAMAGE.
+ */
+package flash;
+
+class Lib {
+
+	static var _global : Dynamic;
+	static var _root : MovieClip;
+	static var current : MovieClip;
+
+}
+
+

+ 2 - 0
std/flash/LoadVars.hx

@@ -1,3 +1,5 @@
+package flash;
+
 extern class LoadVars implements Dynamic<String>
 {
 	var contentType:String;

+ 2 - 0
std/flash/LocalConnection.hx

@@ -1,3 +1,5 @@
+package flash;
+
 extern class LocalConnection implements Dynamic<String>
 {
 	function new() : Void;

+ 4 - 2
std/flash/Microphone.hx

@@ -1,3 +1,5 @@
+package flash;
+
 extern class Microphone
 {
 	static var names:Array<Dynamic>;
@@ -12,12 +14,12 @@ extern class Microphone
 	var rate:Float;
 	var useEchoSuppression:Bool;
 	var muted:Bool;
-	
+
 	function setSilenceLevel(silenceLevel:Float,timeOut:Float):Void;
 	function setRate(rate:Float):Void;
 	function setGain(gain:Float):Void;
 	function setUseEchoSuppression(useEchoSuppression:Bool):Void;
-	
+
 	function onActivity(active:Bool):Void;
 	function onStatus(infoObject:Dynamic):Void;
 }

+ 2 - 0
std/flash/Mouse.hx

@@ -1,3 +1,5 @@
+package flash;
+
 extern class Mouse
 {
 	static function show():Float;

+ 2 - 0
std/flash/MovieClip.hx

@@ -1,3 +1,5 @@
+package flash;
+
 extern class MovieClip implements Dynamic
 {
 	var useHandCursor : Bool;

+ 2 - 0
std/flash/MovieClipLoader.hx

@@ -1,3 +1,5 @@
+package flash;
+
 extern class MovieClipLoader
 {
 	function new() : Void;

+ 2 - 0
std/flash/PrintJob.hx

@@ -1,3 +1,5 @@
+package flash;
+
 extern class PrintJob
 {
 	function start():Bool;

+ 3 - 1
std/flash/Selection.hx

@@ -1,4 +1,6 @@
-extern class Selection
+package flash;
+
+extern class Selection
 {
 	static function getBeginIndex():Float;
 	static function getEndIndex():Float;

+ 2 - 0
std/flash/SharedObject.hx

@@ -1,3 +1,5 @@
+package flash;
+
 extern class SharedObject
 {
 	static function getLocal(name:String,localPath:String):SharedObject;

+ 2 - 0
std/flash/Sound.hx

@@ -1,3 +1,5 @@
+package flash;
+
 extern class Sound
 {
 	var duration:Float;

+ 2 - 6
std/flash/Stage.hx

@@ -1,11 +1,7 @@
+package flash;
+
 extern class Stage
 {
-	/* haXe specific */
-	static var _global : Dynamic;
-	static var _root : MovieClip;
-	static var current : MovieClip;
-	/* end */
-
 	static var width:Float;
 	static var height:Float;
 	static var scaleMode:String;

+ 3 - 1
std/flash/System.hx

@@ -1,4 +1,6 @@
-extern class System
+package flash;
+
+extern class System
 {
 	static var useCodepage:Bool;
 	static var exactSettings:Bool;

+ 2 - 0
std/flash/TextField.hx

@@ -1,3 +1,5 @@
+package flash;
+
 extern class TextField
 {
 	var _x:Float;

+ 2 - 0
std/flash/TextFormat.hx

@@ -1,3 +1,5 @@
+package flash;
+
 extern class TextFormat
 {
 	var font:String;

+ 3 - 1
std/flash/TextSnapshot.hx

@@ -1,4 +1,6 @@
-extern class TextSnapshot
+package flash;
+
+extern class TextSnapshot
 {
 	function findText(startIndex:Float, textToFind:String, caseSensitive:Bool):Float;
 	function getCount():Float;

+ 2 - 0
std/flash/Video.hx

@@ -1,3 +1,5 @@
+package flash;
+
 extern class Video
 {
 	var deblocking : Float;