[Papervision3D] Input Text
Santhakumar K
santhakumar1972 at gmail.com
Thu Apr 3 03:51:43 PST 2008
Hi,
I am new to papervision. I need to add an Dynamic text.
I initially set size as 50 with font verdana. It shows correct size
initally. If I chage text onenterframe it resize to smaller one
mc=new MovieClip();
txt = new TextField();
txt.setTextFormat(new TextFormat("Verdana",50) mc.addChild(txt);
txt.htmlText="Font size 50"
var mat:MovieMaterial = new MovieMaterial(mc, transparent, true,
true);
var p:Plane = new Plane(mat, 300, 300);
view.scene.addChild(p);
//on Enterframe
txt.htmlText="It becomes small size"
I dont know. Anybody can help me.
Thanks,
-SK
--
Santhakumar K Chennai
--
Santhakumar K Chennai
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://osflash.org/pipermail/papervision3d_osflash.org/attachments/20080403/7a64eb39/attachment.html
More information about the Papervision3D
mailing list