Home
> FlashEff 2.0 Flex
> Topic
FlashEff and Thai Font
Posted by user1609899
FlashEff and Thai Font March 20, 2014 10:53AM | Registered: 10 years ago Posts: 2 |
Hello Group,
i want to use FlashEff2 with Textfield & embedded Thai Font. In Thai language one letter can consist of two Elements (under the letter or upon the letter can be a sign (vocal) which is important for pronounciation). As soon as I apply the effect to the textarea the Vocal-signs disappear until the hideEffect begins. Then I can see them, but disappearing. Is there a chance to get it work?
With best regards
Harry
i want to use FlashEff2 with Textfield & embedded Thai Font. In Thai language one letter can consist of two Elements (under the letter or upon the letter can be a sign (vocal) which is important for pronounciation). As soon as I apply the effect to the textarea the Vocal-signs disappear until the hideEffect begins. Then I can see them, but disappearing. Is there a chance to get it work?
With best regards
Harry
Re: FlashEff and Thai Font March 21, 2014 10:36AM | Registered: 10 years ago Posts: 2 |
For the records. I made it. I use the TRANSITION_START and TRANSITION_END events. When the showeffect ends I overwrite the same Text with another Textfield (now with the vocals). Short before Start of Hideeffect I remove the "shadow"-textfield from the stage:
myEff2.addEventListener(FLASHEFFEvents.TRANSITION_END, transition_end);
myEff2.addEventListener(FLASHEFFEvents.TRANSITION_START, transition_start);
private function transition_end(evt:FLASHEFFEvents):void
{
if (bThaiWordBuilding)
{
bThaiWordBuilding=false;
tfShadow = new TextField();
tfShadow = createTextField(....);
con.addChild(tfShadow);
return;
}
private function transition_start(evt:FLASHEFFEvents):void
{
if (!bThaiWordBuilding)
con.removeChild(tfShadow);
}
With best regards
Harry
myEff2.addEventListener(FLASHEFFEvents.TRANSITION_END, transition_end);
myEff2.addEventListener(FLASHEFFEvents.TRANSITION_START, transition_start);
private function transition_end(evt:FLASHEFFEvents):void
{
if (bThaiWordBuilding)
{
bThaiWordBuilding=false;
tfShadow = new TextField();
tfShadow = createTextField(....);
con.addChild(tfShadow);
return;
}
private function transition_start(evt:FLASHEFFEvents):void
{
if (!bThaiWordBuilding)
con.removeChild(tfShadow);
}
With best regards
Harry
Re: FlashEff and Thai Font April 14, 2014 01:15PM | Admin Registered: 15 years ago Posts: 547 |
Sorry, you do not have permission to post/reply in this forum.