Hi,
maybe this is a completely ridiculous question but I cant find an answer anywhere.
I have a mc containing a textfield into which I load an external txt-file with the loadVars object. I need to remove the external text and move the mc (with the textfield) before loading another txt-file. How do I do this?
I have tried making the mc invisible and then moving it before loading new data but it seems that it can’t move with externally loaded text(html) in it? Is this correct?
nop
textfield.text = “”; to clear content
U can move anytime but if is a dinamic textfield on “rotate” text not show, any else movement permited whitout problem.move the mc not the mc.textfield
Thanks for replying! I didn’t think I’d get any replies after such a long time…
I have tried to clear the textfield with mc.textfield.htmltext = “”; but it didn’t work and I have tried moving it using the mc but it wouldn’t It’s a dynamic HTML textfield with imported data in it. I’ll check it again in case there was some mistake in the code but if you have any ideas I’d be grateful to hear!
Kathari it seems ridiculous but if you bury the loaded text in another movieclip you can do whatever you want to the parent and the dynamic text will work as expected, it can be hidden, changed, etc example
you have this
[mcForHoldingText]
-{dynamicTextField}
do this
[mcForHoldingText]
-[textMovieClip]
–{dynamicTextField}
then just go ahead and do whatever you need to the “mcForHoldingText” and it will work on the dynamic text field, just remember you have to change the path to the html text to reflect the extra layer of mc’s…I don’t know why but it works but it does if you need a sample let me know.
It does seem ridiculous but I’ll try!! Tomorrow though. Thanks! I’ll post when I’ve tried.