swf-version 13
♥0 |
Line 19 |
Modified 2011-10-21 16:34:32 |
MIT License
archived:2017-03-20 14:38:46
ActionScript3 source code
/**
* Copyright wh0 ( http://wonderfl.net/user/wh0 )
* MIT License ( http://www.opensource.org/licenses/mit-license.php )
* Downloaded from: http://wonderfl.net/c/tbMb
*/
package {
import flash.text.TextField;
import flash.display.Sprite;
public class FlashTest extends Sprite {
public function FlashTest() {
var tf:TextField;
tf = new TextField();
tf.text = String(loaderInfo.bytes[3]);
tf.scaleX = 465 / (tf.textWidth + 4);
tf.scaleY = tf.scaleX;
addChild(tf);
tf = new TextField();
tf.text = 'SWF version';
tf.scaleX = 465 / (tf.textWidth + 4);
tf.scaleY = tf.scaleX;
addChild(tf);
}
}
}