ming text....

Do you have a question? Post it now! No Registration Necessary.  Now with pictures!

I am trying to do something that should be simple, but it is giving me  

I am thing to create a text 'dashboard' in a flash movie for an  
industrial interface.  Nothing fancy, just a few lines of text.

I've not worked with flash/ming before, so I'm feeling my way through  

I have this:

   $f = new SWFFont("/lib/flashfonts/Techno.fdb");
   $t = new SWFText();
   $t->moveTo(0, 0);
   $t->setColor(0xff, 0xff, 0xff);

and later

   $text = $m->add($t);

where $m is my movie instance.

Now what I want to do is to change the text every time I loop through  
the generation.  The main loop iterates every few seconds, so I need  
something like this:

    delete text in $t
    add new text in $t
    display updated $t

For the life of me I cannot figure out how to do that....

Even adding something like

results in a blank html document....

Could someone please shed some light on this?  Or point me in the  
direction of a text turorial for ming morons?



Site Timeline