Greetings and appreciation
my code not working
Is there a way to make static txt = dynamic txt in swishmax ac2
https://d.top4top.net/p_1098tl1101.jpg
Greetings and appreciation
my code not working
Is there a way to make static txt = dynamic txt in swishmax ac2
https://d.top4top.net/p_1098tl1101.jpg
No. The purpose of static text is it can't be modified by code. That's what dynamic text is for. https://www.youtube.com/watch?v=n-umk8FdfBY is a tutorial for loading external text.
static text doesn't even have a name to call it, in as3 you can take a textfield out of the child index so you will only click on whatever is behind the text field, making it unrecognizable with textfieldname.mouseChildren = false; and I also put textfieldname.selectable=false
thanks
my problem
i need to rotate dynamic txt but Since I use a right to left language , this can not be applied to dynamic text.
I read the chapter on embedding fonts so I can rotate the text. The method is excellent for English, but it fails with other languages.
the Question here is : How to rotate dynamic text contains a right to left language .
I apologize for my bad English because I use Google translation .
https://a.top4top.net/p_10998zu2b1.jpg
PHP Code:
var my_fmt:TextFormat = new TextFormat();
my_fmt.bold = true;
my_fmt.font = "_sanc";
my_fmt.color = 0xFF9900;
mdynamic_2_TXT.setTextFormat(my_fmt);
dynamic_2_TXT.wordWrap = true;
dynamic_2_TXT.embedFonts = true;
dynamic_2_TXT.text = "right to left text";
dynamic_2_TXT._rotation = 45;
Hi,
Put your text in a movieclip and flip it horizontally and rotate the clip, worth a try.
Then reference the text through the clip.
thanks fruitbeard , but not working
https://drive.google.com/file/d/12he...ew?usp=sharing