View Full Version : help with dynamic text (newbie)
bredhead
September 29th, 2003, 08:08 PM
i have a movieclip in the main timeline and want to load the text from a file, tried everything but can't see anything, copied the tutorial from here it works on the main timeline but not in a mc, i understand levels (_root. etc) but have tinkered for a few hours with no success, had enough can anyone help me?
thanks in advance
bredhead
claudio
September 29th, 2003, 11:58 PM
loadText = new LoadVars();
loadText.onLoad = function(success) {
if (success) {
myMovieClip.myTextField.text = this.myVar;
}
};
loadText.load("text.txt");
bredhead
September 30th, 2003, 04:40 AM
thanks for the hepl much appreciated
claudio
September 30th, 2003, 09:04 AM
You're welcome ;)
Powered by vBulletin® Version 4.1.10 Copyright © 2012 vBulletin Solutions, Inc. All rights reserved.