I think Flash is really named that because of the way it works in director
-- sometimes exposing itself, sometimes not...
It seems that in my flash script that is fully fine inside of Flash, the way
I'm creating my functions -- well, it works better if there's a line between
each function literal. It's wacky -- that's all I changed, and now it's
working again....
_global.fModule = new Object()
var textBox = new Object()
textBox.ItemCount = function(){ return Items.ItemCount;}
textBox.resetListBox = function(){Items.Init();}
textBox.AddThisItem = function(theItem){Items.AddItem(theItem);}
textBox.ActivateItems = function(theArray){Items.ActivateItems(theArray);}
textBox.DeactivateItems = function(){Items.DeactivateItems();}
textBox.returnList = function(){
for(var i = 0; i=listBox.Itemcount; i++){
// -- for now doing numbers
theArray = new(Array);
mc = "Items.LBItem_" + i;
theName = eval(mc).Caption;
theArray.push(theName);
return theArray;
}
}
fModule.listbox = textBox;
[To remove yourself from this list, or to change to digest mode, go to
http://www.penworks.com/lingo-l.cgi To post messages to the list, email [EMAIL
PROTECTED] (Problems, email [EMAIL PROTECTED]). Lingo-L is for learning and helping
with programming Lingo. Thanks!]