When using this code in my Test class I see a textfield on the stage,
but my graphical assets ( some squares ) have dissapeared ...

I'm still gettin the error.text message though

class Test
{
 static var app : Test;

 function Test() {
  // creates a 'tf' TextField size 800x600 at pos 0,0
  _root.createTextField("tf",0,0,0,800,600);
  // write some text into it
  _root.tf.text = "Hello world !";
 }

 // entry point
 static function main(mc) {
  app = new Test();
 }
}



On 3/29/06, Webdevotion <[EMAIL PROTECTED]> wrote:
>
>  Hey John,
>
> First, tnx for the great effort you put into your tools!
>
> I feel a bit silly for asking these questions,
> as everyone seems so comfortable using MTASC etc.
>
> I created a fla, with a mc "test" on stage which is linked
> to a Test class in the library.
>
> I'm compiling without any checkboxes in the MTASC panel.
>
> Still the same output ==>     "......   errors.txt"
>
> class Test
> {
>  function Test ()
>  {
>   trace("Test");
>  }
>
>  function main ()
>  {
>   trace("main");
>  }
> }
>
_______________________________________________
[email protected]
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com

Reply via email to