Re: [Flashcoders] Noob, basic questions on actionscript, with methodology suggestions

2006-11-09 Thread Scott Haneda
> I wuz a noob once. I cured it by hanging out with non-noobs. Thanks, I tend to agree, however, I will move to the flash beginners mail list, I just hope there are people there who are not as lost as me, as that probably wont help :-) --

RE: [Flashcoders] Noob, basic questions on actionscript, with methodology suggestions

2006-11-09 Thread Pete Miller
rs mailing list >> Subject: RE: [Flashcoders] Noob, basic questions on actionscript,with >> methodology suggestions >> >> There is Flashnewbies, but any Actionscript question is supposed to be >> welcome here. Don't listen, they're just grumpy. :) >> &g

RE: [Flashcoders] Noob, basic questions on actionscript, with methodology suggestions

2006-11-09 Thread Merrill, Jason
ilto:flashcoders- >>[EMAIL PROTECTED] On Behalf Of Scott Haneda >>Sent: Thursday, November 09, 2006 5:16 PM >>To: Flashcoders mailing list; Mike Keesey >>Subject: Re: [Flashcoders] Noob, basic questions on actionscript, with >>methodology suggestions >> >>

Re: [Flashcoders] Noob, basic questions on actionscript, with methodology suggestions

2006-11-09 Thread Scott Haneda
> I use to trip over this one, calling xml.load() then immediately trying > to use data from the load, forgetting that I needed to wait for the > onLoad() to tell me that it was done. Thanks you as well, at least I am not the first to trip up on this, its a bit wonky coming from other languages, t

Re: [Flashcoders] Noob, basic questions on actionscript, with methodology suggestions

2006-11-09 Thread Scott Haneda
> You have to use a function because the loading is asynchronous. It > doesn't stop program flow while it's loading; it continues with the > program and calls a handler (onLoad) once the load is complete. Thanks, I understand that part now. > I'm not sure this is the proper forum for n00b questio

Re: [Flashcoders] Noob, basic questions on actionscript, with methodology suggestions

2006-11-09 Thread Scott Haneda
> Hi, > > You will need to move external_xml.load call below the onLoad > function because your file will probably be loaded before the handler is > defined (locally). > > with trace(myXML) you have defined "myXML" inside the function - > this means it is not in scope outside the function

Re: [Flashcoders] Noob, basic questions on actionscript, with methodology suggestions

2006-11-09 Thread Glen Pike
Hi, Apologies, I missed your other question: You can extend the XML object to include a reference to its parent - which would contain a function that allowed you to parse it and do things with your movie, like so: var external_xml:XML = new XML(); external_xml.parent = this; funct

RE: [Flashcoders] Noob, basic questions on actionscript, with methodology suggestions

2006-11-09 Thread Pete Miller
L PROTECTED] On Behalf Of Glen Pike >> Sent: Thursday, November 09, 2006 4:51 PM >> To: Flashcoders mailing list >> Subject: Re: [Flashcoders] Noob, basic questions on actionscript,with >> methodology suggestions >> >> Hi, >> >> You will need to

RE: [Flashcoders] Noob, basic questions on actionscript, with methodology suggestions

2006-11-09 Thread Mike Keesey
You have to use a function because the loading is asynchronous. It doesn't stop program flow while it's loading; it continues with the program and calls a handler (onLoad) once the load is complete. I'm not sure this is the proper forum for n00b questions ― Mike Keesey ___

Re: [Flashcoders] Noob, basic questions on actionscript, with methodology suggestions

2006-11-09 Thread Scott Haneda
> Hi, > > You will need to move external_xml.load call below the onLoad > function because your file will probably be loaded before the handler is > defined (locally). > > with trace(myXML) you have defined "myXML" inside the function - > this means it is not in scope outside the function

Re: [Flashcoders] Noob, basic questions on actionscript, with methodology suggestions

2006-11-09 Thread Jason King
I'm not quite that new, but I think I can tackle this issue. onLoad is in a function because the actual load takes place asynchronously. If you put another statement immediately after the external_xml.load it would execute (probably) before the xml finished loading. To resolve your issue I'd move

Re: [Flashcoders] Noob, basic questions on actionscript, with methodology suggestions

2006-11-09 Thread Glen Pike
Hi, You will need to move external_xml.load call below the onLoad function because your file will probably be loaded before the handler is defined (locally). with trace(myXML) you have defined "myXML" inside the function - this means it is not in scope outside the function. Try: va

[Flashcoders] Noob, basic questions on actionscript, with methodology suggestions

2006-11-09 Thread Scott Haneda
Hi, downloaded Flash, 1st post! w00t! need to work out a small project. I have experience in programming, not specifically OOP, and actionscript seems to be very OOP. I few questions: I am loading up some XML per an example: //ignore whitespace XML.prototype.ignoreWhite = true; //create variabl