when i try to set the variable anyway from an onPress event, the variable is never set.
then you have a scope issue, you must be accessing it at the wrong level…?
seriously using Events in AS3 would have this done before you started typing, dunno how I managed in AS2
can you declare a var global and get/set that..?
@MSFX I am not getting an error. The text is getting chopped off, sometimes in the middle, sometimes on the ends. It’s a very strange bug. The text would suddenly appear when the scroll reaches a certain point.
very odd, have you tried tracing out to the output to ensure its not the textfield..?
Just a kinda weird suggestion, but here goes. You could use an onEnterFrame that checks for a variable to see if the text field has loaded. Once it has then delete the onEnterFrame and fill in the dynamic text field dynamically.
maybe the right idea but not listen for a CHANGE event far less heavy on resources… EF should be for animation only and stopped when its not animating!