ok, if you're doing the sample from the mtasc.org site, then you don't bind
that to a movieclip, you just include it as a class to be compiled with
MTASC.

So, the steps would be:

1.  Create your FLA
2.  Create your squares/triangles objects
3.  Publish with IDE
4.  create new project in Flasc
5.  Give friendly name
6.  Locate the published SWF
7.  UNcheck the header settings - they're already set.  If you DIDN'T
uncheck this previously, that's why you lost your objects.
8.  click edit tags - check -mx, check -main
9.  Hit done
10.  Compile

Now you should have a swf that has your objects on stage and now a new text
field with your "hello world" copy in it.

Does this make sense?

JG

On 3/29/06, Webdevotion <[EMAIL PROTECTED]> wrote:
>
> 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
>



--
John Grden - Blitz
_______________________________________________
[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