Re: [Flashcoders] Flasc - simple question

2006-03-29 Thread Webdevotion
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);
  }
 }

___
Flashcoders@chattyfig.figleaf.com
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


Re: [Flashcoders] Flasc - simple question

2006-03-29 Thread Webdevotion
great : )

uncheck the header did the trick for me : )
now on to more complicated projects I guess
___
Flashcoders@chattyfig.figleaf.com
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


Re: [Flashcoders] Flasc - simple question

2006-03-29 Thread John Grden
Excellent, glad that worked for ya!

PS I just posted version 1.7 late last night with a fix to the import as
well as some other fixes.  Get it, install it, have a good day with it ;)

On 3/29/06, Webdevotion [EMAIL PROTECTED] wrote:

 great : )

 uncheck the header did the trick for me : )
 now on to more complicated projects I guess


___
Flashcoders@chattyfig.figleaf.com
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


[Flashcoders] Flasc - simple question

2006-03-28 Thread Bram Plessers
Hello,

Trying to use Flasc.
I have a simple fla with only some squares on stage on
my first frame.  No actionscript etc.

I've created a new test group with a test project 
checked the -mx option in the [edit tags] overview.

Where did I go wrong :)

Thanks !

This is my output:



 C:/Program Files/mtasc/mtasc.exe -swf E:/test.swf -mx  -cp
 C:/Documents and Settings/user/Local Settings/Application
 Data/Macromedia/Flash 8/en/Configuration/Classes  -header 800:600:30
 -version 8  2 C:/Documents and Settings/user/Local Settings/Application
 Data/Macromedia/Flash 8/en/Configuration/Commands/FLASC/errors.txt
 pause
 Motion-Twin ActionScript2 Compiler 1.12 - (c)2004-2005 Motion-Twin
  Usage : mtasc.exe [options] files...
  Options :
   -pack path : compile all files in target package
   -cp paths : add classpath


...
___
Flashcoders@chattyfig.figleaf.com
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


Re: [Flashcoders] Flasc - simple question

2006-03-28 Thread John Grden
You didn't give mtasc anything to compile.

The pupose would be to publish your SWF with the Flash IDE first, then use
Flasc.  But the only thing that FLasc does is help you manage your projects
and tell MTASC what CODE to inject into your already existing SWF.

OR you can create a new SWF without the Flash IDE altogether by using a
class that has a static main method.

The error your getting is essentially saying Hey, I wasn't given a class
file to compile with the SWF

Does that make sense Bram?  Let me know what I can clear up for you,

Thanks

John

On 3/28/06, Bram Plessers [EMAIL PROTECTED] wrote:

 Hello,

 Trying to use Flasc.
 I have a simple fla with only some squares on stage on
 my first frame.  No actionscript etc.

 I've created a new test group with a test project 
 checked the -mx option in the [edit tags] overview.

 Where did I go wrong :)

 Thanks !

 This is my output:



  C:/Program Files/mtasc/mtasc.exe -swf E:/test.swf -mx  -cp
  C:/Documents and Settings/user/Local Settings/Application
  Data/Macromedia/Flash 8/en/Configuration/Classes  -header 800:600:30
  -version 8  2 C:/Documents and Settings/user/Local
 Settings/Application
  Data/Macromedia/Flash 8/en/Configuration/Commands/FLASC/errors.txt
  pause
  Motion-Twin ActionScript2 Compiler 1.12 - (c)2004-2005 Motion-Twin
   Usage : mtasc.exe [options] files...
   Options :
-pack path : compile all files in target package
-cp paths : add classpath


 ...
 ___
 Flashcoders@chattyfig.figleaf.com
 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




--
John Grden - Blitz
___
Flashcoders@chattyfig.figleaf.com
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