Why when I apply a rotation tab text disappears of the tabs? Is there any way to keep the labels in its relative position, so it rotate along with the tab?
code:
<tabs name="dentes" height="200" width="300" x="${this.width}" y="${this.height}" rotation="90">
<tabpane name="coroa" text="Coroa" bgcolor="blue" width="100%" height="100%">
<text>Nome:</text>
</tabpane>
<tabpane name="raiz" text="Raiz" bgcolor="red" width="100%" height="100%">
<text>Nome:</text>
</tabpane>
<tabpane name="canal" text="Canal" bgcolor="green" width="100%" height="100%">
<text>Nome:</text>
</tabpane>
</tabs>
That's a technical limitation of the Flash/SWF runtime when using client fonts. It's mentioned in the docs as well:
Use the
<font>tag to embed TTF fonts into your application. If you select that font for your text, the rotatoin will work as expected, e.g.:You have to embed the TTF fonts into your application, and then you are free to rotate any standard text component.
If you use the
hasdirectionallayoutproperty of text components in SWF applications, you have to use theembedascff="true"attribute when embedding custom fonts.Here's a screenshot of this example SWF10 app, tested on 5.0 (trunk).