Thanks Michael,

that did it!

Nice and simple (for a simple mind(mine)) ... Great, much (very much) appreciated :) :)

and thanks to eveybody else's input as well .... I am learning, I am learning....promise. lol

JohnT

Michael Boski wrote:

try this.

frame one:

//
var myMenuData = new LoadVars;
var myTxt:Array = new Array();'
//
myFile = "../textFiles/menuLabels.txt";
myMenuData.onLoad = function(success) {
 if (success) {
     trace("LoadVars loaded successfully: "+this.loaded); <==this one
returns = true
     _parent.myTxt = this.myVar.split(",");
     trace(_parent.myTxt[3]); <==this trace returns the correct value
     _parent.play();
 } else {
     trace("Could not get the data");
 }
};
myMenuData._parent = this;
myMenuData.load(myFile);
stop();

frame 2:


trace(myTxt[3]);


_______________________________________________
[email protected]
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com

Reply via email to