I have created a dynamic textbox using actionscript, and am trying to rotate it:
_root.axis.createTextField("labelY", -1, -1, -16, 10, 20);
_root.axis.labelY.embedFonts = true;
_root.axis.labelY.text = labelY;
_root.axis.labelY.setTextFormat(labelYFormat);
_root.axis.labelY._rotation = 90;
When i run this, the text disappears, and when I remove the rotation line it still does not appear. I'm sure it has something to do with the embedFonts method, because when I remove this line along with the rotation line, it displys. IO'm pulling my hair out here!!!
A computer always does what you tell it to, but rarely does what you want it to.....
_root.axis.createTextField("labelY", -1, -1, -16, 10, 20);
_root.axis.labelY.embedFonts = true;
_root.axis.labelY.text = labelY;
_root.axis.labelY.setTextFormat(labelYFormat);
_root.axis.labelY._rotation = 90;
When i run this, the text disappears, and when I remove the rotation line it still does not appear. I'm sure it has something to do with the embedFonts method, because when I remove this line along with the rotation line, it displys. IO'm pulling my hair out here!!!
A computer always does what you tell it to, but rarely does what you want it to.....