PDA

View Full Version : [AS3] DataGrid rotation is possible?


Paulop
03-17-2009, 04:17 PM
Hi there!

I'm trying to rotate a DataGrid component with a -90º angle and a couple of graphics (placed on the stage trough as).
The task is quite easy for the graphics but it seems that there's no way to rotate de DataGrid. At least, I have no idea how to get it...

Actually, the component if instantiated directly on the stage accepts the rotation, but it doesn't display the data at all.

Please, someone can help me on this? :o

I'll be deeply grateful...

ASWC
03-17-2009, 04:21 PM
If you want text to show with a rotation then the font you use must be an embedded font.

Paulop
03-18-2009, 01:15 AM
Hi, ASWC, thanks for your post.

Yes, I got that point and I was able to rotate textfields with embedded fonts but I still can't apply rotation to a grid (the text doesn't show).

I'm affraid I got stuck into a dead end...Are you sure rotation applies to datagrid the same way to any other kind of text?

I really appreciate your hand...:eek:

Paulop
03-18-2009, 08:16 PM
Ok, don't bother with it anymore... I found a solution.

But it's amazing how difficult it was to find someone who cared with this subject.

If you're interested here it goes:

http://blogs.adobe.com/pdehaan/2008/02/using_embedded_fonts_with_the_1.html

It's absolutely perfect...

Greetings!;)