Hi Ruprecht, i´ve read your problem and work on a sample for you Textsizefader in Ming This is a merge between gazb an my one // some typical movie variables Ming_setScale(20.0000000); ming_useswfversion(6); $movie = new SWFMovie(); $movie->setRate(20.000000); $movie->setDimension(550, 400); $movie->setBackground(rand(0,0xFF),rand(0,0xFF),rand(0,0xFF)); $boxwidth=200; $boxheight=20; $box=new SWFShape(); $box->setRightFill(255,0,0); $box->drawLine($boxwidth,0); $box->drawLine(0,$boxheight); $box->drawLine(-$boxwidth,0); $box->drawLine(0,-$boxheight); $sp=new SWFSprite(); $sp->add($box); $sp->nextFrame(); $f1=$movie->add($sp); $f1->setName("box"); $movie->add(new SWFAction(" box.onPress=function(){ this.startDrag(0,0,200,0);}; box.onRelease= box.onReleaseOutside=function(){ stopDrag();}; createTextField('output',50,250,50,300,250); onenterFrame=function(){myformat.size=box._y; output.text='fontsize'+box._y; output.setTextFormat(myformat);}; output.text='fontsize'; // format text field myformat = new TextFormat(); myformat.color = 0xff0000; myformat.font = 'Arial'; myformat.size = 24; with (output){ multiline = true; wordWrap = true; border = true; setTextFormat(myformat); } ")); // save swf with same name as filename $swfname = basename(__FILE__,".php"); $movie->save("$swfname.swf",9); ?> I hope this is what you mean Dominik ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone _______________________________________________ Ming-users mailing list Ming-users@xxxxxxxxxxxxxxxxxxxxx https://lists.sourceforge.net/lists/listinfo/ming-users