Skip to content

Commit

Permalink
Create main2.as
Browse files Browse the repository at this point in the history
  • Loading branch information
asyncfinkd authored Apr 29, 2021
1 parent 5066088 commit bb04f13
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions main2.as
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
package
{
import flash.display.Sprite;
import flash.text.TextField;

public class actionscript extends Sprite
{
private var hello:TextField = new TextField();

public function actionscript(){
hello.text = "Hello World";
addChild(hello);
}
}
}

0 comments on commit bb04f13

Please sign in to comment.