
Welcome Guest
|
#1
|
|||
|
|||
|
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 |
|
#2
|
|||
|
|||
|
i think u should convert ur textfield into a movieclip, and then define the action u want by naming ur movieclip instance!
yours, h88 |
|
#3
|
|||
|
|||
|
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 |
|
#4
|
||||
|
||||
|
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... |
|
#5
|
||||
|
||||
|
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.
|
|
#6
|
|||
|
|||
|
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 ? |
|
#7
|
|||
|
|||
|
worked with tint, thatīll do the trick for me i think
|
|
#8
|
||||
|
||||
|
If memory serves correct, it can often have something to do with whether you have embedded the font or not?
swoop |
|
#9
|
|||
|
|||
|
havent embedded the font, but I wanted the font to not be aliased.
worked like a charm with tint. |
|
#10
|
||||
|
||||
|
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 |
«
Previous Thread
|
Next Thread
»
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|
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 |




