foud it!
textfield = new TextField3D("Arial");
textfield.width returns the width of the TextField3D
textfield.objectWidth returns the actual width of the text inside
On 1 srp, 00:44, sofke <[email protected]> wrote:
> yes the parameter is "width" and represents the width of the
> TextField3D, I need to calculate the actual width of the text inside
> the TextField3D object, so there is no empty space between two
> textfields, I guess it can't be done?
>
> On 30 lip, 18:00, Li <[email protected]> wrote:
>
>
>
> > There is a parameter that determines when to jump to the next line. If you
> > make that big enough and then read the actual width of it, you could use
> > that data to plane textfields next to one another...
> > hth
>
> > On Wed, Jun 30, 2010 at 8:49 AM, sofke <[email protected]> wrote:
> > > Is it possible to set TextField3D width dynamicly to fit the text
> > > width instead of beign set to default or constant width? So that I can
> > > place several TextField3D objects in line one after another without
> > > empty space between or without texr breaking into multiline?
> > > Is it possible to set TextField3D to singleline mode?
>
> > > thanx