What you're saying about containing the letters as individual Sprite3D's instead of Shape3D's is really interesting. This would turn TextField3D into a container of Sprite3D more than a container of Shape3D's and probably give the class more options for this kind of stuff... I'd have to analyze that. Another possibility would be giving Shape3D's x and y properties, though I'm not sure if this would make sense. I'd have to analyze that too!!
Regarding the bold issue, you could use a quick solution while this stuff is decided: I can Imagine the process of identifying the word you want to bold, then for each shape in it calculate the mean x, y and z values (of the vertices) and use some kind of vector difference to augment the outlines of the glyfs. Check it out, I can give you a hand if you don't succeed. And finally, about the help and your level and all that, I find that once you played around enough with something you begin to understand how it works. Once you've reached this point you find yourself modifying it freely and creating some interesting enhancements that could -and usually should- be incorporated into the official version of what you are using. So, if you want to help, my advice would be to keep doing whatever you want to your code at home even if you mess it up -you can always sync with the repo again- until you reach this point I was talking about... I'll try to make a poll on my blog for the wishlist!! cheers On Tue, Jan 13, 2009 at 11:24 AM, G. <[email protected]> wrote: > > Hi Li, > > I know swapping fonts would be too difficult, it's cool that you can > figure a way to do so because I didn't at all... > > Concerning the word swapping, that's exactly what I tried: getting the > word's index, get the Shape3D corresponding in the words getter for > the first letter and get its vertex's coordinates, but the result is > not precise (the word in the new TextField is not at the same > position), I think it's because the coordinates given by the words > getters are the coordinates inside the TextField, so the matter is to > move the letters in the new textfield inside this textfield and I > still can't figure how :s as I couldn't find something like the > localToGlobal property (but maybe the function is not so tough, I will > make some researches) > > What would you think about instead of drawing the shapes directly > inside the TextField3D object wrapping it inside a Sprite3D (which > will be added to the TextField)? I know it's totally different from > the philosophy of the textField3D as it is now but it could let us use > the x, y and z coordinates for instance. > > Concerning the use of bold, I think the easyest way would be to do as > in other softwares: use false bold, and so add some outlines on the > characters. This is what I'm trying to do actually but I can't make > the outline property work and I can't find why, as I'm following the > documentation. > > Anyway I would be glad to help you out though I'm not sure my level > with away3d is good enough... > > about the wishilist it's a great idea, you could post it on your blog > maybe and I'm sure you'll get some good results (and I could help for > a wishlist too, I'm good for wishlists =)) >
