flex-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dennis Raddle <dennis.rad...@gmail.com>
Subject using spark.components.Label through pure ActionScript
Date Tue, 16 Jul 2013 23:01:19 GMT
I wrote some code using spark.components.Label, something very simple, and
I don't see anything when I run this.

  import flash.display.*;
  import flash.text.*;
  import layout.Layout;
  import spark.components.Label;

  public class App1 extends Sprite {


    public function App1() {
      var t:Label = new Label();
      t.text = "Foo Foo";
      addChild(t);
      t.x = 100;
      t.y = 100;
      trace(t.width);
    }

  }

What am I doing wrong?

-Dennis

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message