Groups | Blog | Home
all groups > flash actionscript > february 2005 >

flash actionscript : Conflicting Dynamic Text


shock_parade
2/3/2005 10:21:18 PM
Hello, I n my project i had one dynamic text box that i used to post news onto
the site from an external .txt file Now i want to add a second box to the same
frame so i just copied the same code in and changed all the necessary bits
When i load the page only one set of text is displayed, if anyone knew of a
simple way round this it would be of great help This is the script i am
currently using... TextArea.html = true; function loadcheck() { trace('all
done'); TextArea.htmlText = container.myText; } container = new LoadVars();
container.onLoad = loadcheck; container.load('externalfile.txt'); then when i
created the second box i created the relelvant new .txt file and put this
script into a different layer on the timeline (i also tried it in the same
frame just underneath) TextAreaGIG.html = true; function loadcheck() {
trace('all done'); TextAreaGIG.htmlText = container.myTextGIG; } container
= new LoadVars(); container.onLoad = loadcheck;
container.load('externalfileGIG.txt'); Thankyou
billwatson
2/3/2005 11:24:58 PM
AddThis Social Bookmark Button