-
this is driving me crazy
here a simple problem I have movieClip in the library, with a dynamic text field. I set the linkage of the movie clip and set the character options for fonts. I use this code and I can't get the text field to populate.
trace("name "+_global.video_array[0]); shows Bob Joyce in out put field which is correct, why doesn't work? :yikes:
Code:
_root.attachMovie("Video_cover", "vCover", getNextHighestDepth());
_root.vCover._x = 264;
_root.vCover._y = 378;
trace("name "+_global.video_array[0]);
_root.vCover.v_text.text = _global.video_array[0]);
_root.vCover.v_text.autoSize = true;
-
If you are using MX2004, try to give a name to the var or the dynamic textfield. Then, instead to atribute the content to the text property, do it to the var.
Some stupid suggestions:
1) Did you check if your text colour is not the same colour as the background?
2) Did you check if you added the chars (dynamic textfields do not works if you do not that).
-
at first glance, look at this line of code:
_root.vCover.v_text.text = _global.video_array[0]);
you have a ) in there that you dont need...that'd be my first guess..it should read:
_root.vCover.v_text.text = _global.video_array[0];