Groups | Blog | Home
all groups > flash actionscript > march 2004 >

flash actionscript : changing text properties at run time doesn't work


kit_hoffman
3/3/2004 11:37:42 PM
when I try to increment the text itself like myText._x ++; it will only move
one pixel! it wont keep moving like a movie clip.
I know that this problem can be solved by making the text a movie clip, but I
also want this text to fade out. when I used mytext._alpha --; the text
wouldn't fade. so I tried converting the text into a movie clip and used this
code...

onClipEvent(enterFrame){
myMCText._alpha --;
}

it still wouldn't fade. I then tried putting a circle in the MC to see if it
would fade. It did! but it left the text unfaded.

if you have any solutions of suggestions let me know. I really can't use the
tweening, but give me your suggestions any way. thanks for any help

-kit
kglad
3/4/2004 12:48:28 AM
your clip event is probably failing because you have a path reference error to
the movieclip myMCText which i'm guessing is not a child of the movieclip to
which that _alpha decrement is attached or you're not embedding your font.
AddThis Social Bookmark Button