Okay the problem is i have 2 dynamic text box’s reading from the same txt file
but if i put 2 in the same text file i get undefined in the second box
Frame 1 Layer Action’s
myData = new LoadVars();
myData.onLoad = function() {
myDeck1_list.html=true;
myDeck1_list.htmlText = this.deck1List;
};
myData.load("myDeck1.txt");
myData = new LoadVars();
myData.onLoad = function() {
myDeck1_name.html=true;
myDeck1_name.htmlText = this.deck1name;
};
myData.load("myDeck1.txt");
From TXT File
deck1name=Test
deck1List=1Test
Dynamic boxe’s
Box 1 instance: myDeck1_name
Box 2 instance: myDeck1_list
So can anyone plz tell me whats going on here?
(im sure i got everything named and labeled right
since if i delete 1 of the codes for the box’s it works
but if i leave alone the botom box is always undefined
And i know this is my first post and it shouldent be one asking for something
But plz help
P.S. It’s gonna be a deck keeper for MTG (im sure alot of people here dont like it but making stuff ill want to use is how i learn )
<b> Edit: </b> <u>Im a 99% complete AS newb and read that script from a tutorial and tutorial didnt explain on how to do what im trying to do or if it’s posiable</u>