You are here: ming text.... « PHP Programming Language « IT news, forums, messages
ming text....

Posted by CptDondo on 10/03/06 22:52

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

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
this...

I have this:

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

and later

$text = $m->add($t);
$text->moveTo(2450,200);

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
$m->remove($text)

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?

Thanks,

--Yan

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация