$t->setColor($rgb[0], $rgb[1], $rgb[2]); $t = new SWFText(); $f = new SWFFont($objs[$coid]->font); $t->setFont($f); $t->setHeight(flash_fixsize($objs[$coid]->titleSize)); $t->addString($objs[$coid]->title); $i = $m->add($t); if ($in == 0) { $i->moveTo(5, 0); } } foreach ($el['text'] as $in => $val) { if (!empty($el['text'][$in]['data'])) { $t = new SWFTextField(); $t->setColor($defaultColor[0], $defaultColor[1], $defaultColor[2]); $t->align(SWFTEXTFIELD_ALIGN_LEFT); $t->setFont($f); $t->setHeight((int) ($_GET['h'] / 5)); $t->addString($el['text'][$in]['data']); $i = $m->add($t); if ($in == 0) { $i->moveTo(15, 5); } } } break; } header('Content-type: application/x-shockwave-flash'); $m->output(); function rgb($rgb) {