LOADING
Loading
Hi , welcome back.
LogoutLOGOUT
 
  Lost password?  
Hi
 


  #1  
Old 11-06-2002, 02:24 AM
whitewine whitewine is offline
Registered User
 
Join Date: Oct 2002
Posts: 35
Rep Power: 0
whitewine is on a distinguished road
Question Dynamic text fading ?

Hi all,

Any one can tell me how i can change the alpha properties of a dynamic text field ? I try to change it by using

"mytext._alpha = 0" but nothing happen.

Thank you and best regard
Reply With Quote
  #2  
Old 11-06-2002, 06:07 AM
h88 h88 is offline
Registered User
 
Join Date: Sep 2002
Posts: 127
Rep Power: 0
h88 is on a distinguished road
i think u should convert ur textfield into a movieclip, and then define the action u want by naming ur movieclip instance!

yours,
h88
Reply With Quote
  #3  
Old 11-06-2002, 06:25 AM
whitewine whitewine is offline
Registered User
 
Join Date: Oct 2002
Posts: 35
Rep Power: 0
whitewine is on a distinguished road
Guy

Hi h88,

Thank for the reply. I have try convert the dynamic text field into movie clip and then change the alpha properties reference to the movie clip insance name but still nothing happen.

But if i change the Dynamic text field to a static text field, then it work !! But what I really need is a Dynamic text.

Is there any way I may make a mistake ?


Thank you and best regard
Reply With Quote
  #4  
Old 11-06-2002, 06:55 AM
MixMatch's Avatar
MixMatch MixMatch is offline

Hyper Moderator
 
Join Date: Aug 2001
Location: Heidelberg, Germany
Posts: 1,789
Rep Power: 13
MixMatch is on a distinguished road
nope, your right, its a hassle. There is a way however.

create dynamic text file
place it inside a movieclip
place movieclip inside of another
place top movieclip on stage:
-stage
--movieclipFather
---movieclipChild
----dynamic text field

Now, go into movieclipFather to edit it. Create a motion tween how ever long you want the fade to be with the movieclipChild as the object you are alpha fading(not with actionscript; this is a hard-coded motion tween).Place a stop() command in the first frame of movieclipFather so that the text doesn't fade away on you.

Now, whenever you want to fade the dynamic text field, just call movieclipFather.play(); and you have your 'dynamic' fade...
Reply With Quote
  #5  
Old 11-06-2002, 06:59 AM
MixMatch's Avatar
MixMatch MixMatch is offline

Hyper Moderator
 
Join Date: Aug 2001
Location: Heidelberg, Germany
Posts: 1,789
Rep Power: 13
MixMatch is on a distinguished road
alternatively, you could create textFormats that gradually changes the color of the text until it is the same as the background. As you know, however, this would be a hassle to code and would not provide true alpha, but rather tint fading, which can be ugly if you have a multicolored background.
Reply With Quote
  #6  
Old 09-07-2004, 02:07 PM
force force is offline
Registered User
 
Join Date: May 2001
Posts: 176
Rep Power: 12
force is on a distinguished road
mixmatch, tried your example, and couldnt get it to work...
even tried and placed som graphic in the mcChild next to the dynamic textfield, and the graphic faded, but not the textfield, its visible all the time...

any thoughts on what could be wrong ?
__________________
May the force be with you...

sundaymorning.se
Reply With Quote
  #7  
Old 09-07-2004, 02:09 PM
force force is offline
Registered User
 
Join Date: May 2001
Posts: 176
Rep Power: 12
force is on a distinguished road
worked with tint, thatīll do the trick for me i think
__________________
May the force be with you...

sundaymorning.se
Reply With Quote
  #8  
Old 09-07-2004, 03:28 PM
swoop's Avatar
swoop swoop is offline

swoopy HyperModerator
 
Join Date: Jun 2001
Location: England
Posts: 1,562
Rep Power: 13
swoop is on a distinguished road
If memory serves correct, it can often have something to do with whether you have embedded the font or not?

swoop
Reply With Quote
  #9  
Old 09-07-2004, 03:48 PM
force force is offline
Registered User
 
Join Date: May 2001
Posts: 176
Rep Power: 12
force is on a distinguished road
havent embedded the font, but I wanted the font to not be aliased.
worked like a charm with tint.
__________________
May the force be with you...

sundaymorning.se
Reply With Quote
  #10  
Old 09-08-2004, 10:53 AM
swoop's Avatar
swoop swoop is offline

swoopy HyperModerator
 
Join Date: Jun 2001
Location: England
Posts: 1,562
Rep Power: 13
swoop is on a distinguished road
It's a pain, but if you embedded the font then it would work. If you want it without aliasing, you could try a pixel perfect font. Though as you say tint has worked for you.

swoop
Reply With Quote


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
dynamic text box appearing before called and not fading in 47rickym Flash CS3 / Flash 9 3 02-01-2009 02:21 PM
Dynamic Text - change text box variable on click kenisswell Flash MX ActionScript 10 11-01-2005 09:20 PM
Creting input textfield denizci2000 Flash MX 5 12-15-2004 08:58 PM
HTML text not showing in dynamic text field Wasaby Flash MX 2004 2 09-07-2004 04:34 PM
Setting Dynamic Text in Frame Scripts zorba990 Flash MX ActionScript 4 04-28-2003 11:32 PM




All times are GMT. The time now is 09:07 PM.