Home
> FlashEff 1 (Discontinued version)
> Topic
Update Dynamtic TextField
Posted by srfc35
Update Dynamtic TextField September 30, 2008 12:37PM | Registered: 15 years ago Posts: 5 |
Hello,
I have a dymamic textfield inside a movieClip and a FlashEff instance attached to this textfield.
I success in using show or hide fonction, but i can't update dynamic textfield without apply a transition.
Is it possible to change textfield data directly ?
Here my function ::
function updateData ():void
{
myClip.myDynamicText.text = "new value";
myClip.effText.target = myClip.myDynamicText;
myClip.effText.transitionEffect("show");
}
Thanks in advance
I have a dymamic textfield inside a movieClip and a FlashEff instance attached to this textfield.
I success in using show or hide fonction, but i can't update dynamic textfield without apply a transition.
Is it possible to change textfield data directly ?
Here my function ::
function updateData ():void
{
myClip.myDynamicText.text = "new value";
myClip.effText.target = myClip.myDynamicText;
myClip.effText.transitionEffect("show");
}
Thanks in advance
Re: Update Dynamtic TextField October 01, 2008 06:51AM | Admin Registered: 15 years ago Posts: 270 |
You need to have the isTargetVisibleAtEnd property set to true before you do that.
Just make sure you embed the new characters too.
myClip.effText.isTargetVisibleAtEnd = true; myClip.effText.target = myClip.myDynamicText; function updateData ():void { myClip.effText.target.text = "new value"; myClip.effText.transitionEffect("show" ) ; }
Just make sure you embed the new characters too.
Re: Update Dynamtic TextField October 01, 2008 03:50PM | Registered: 15 years ago Posts: 5 |
Sorry, you do not have permission to post/reply in this forum.