Re: [Flashcoders] Newbie AS3 question

2005-10-31 Thread Robert Tweed
Cedric Muller wrote: in the end, using 'this' or leaving it does make a difference, doesn't it ? I cannot decompile to test my sayings, but 'this' adds more bytecode to the file ?? I'm pretty sure it's just compiled into the same bytecode either way. There are a number of ways to test that,

Re: [Flashcoders] Strict Datatyping Question

2005-10-31 Thread Robert Tweed
Chris Velevitch wrote: I think the confusion occurs because you seem to be mixing up the distinction between declaration and reference. Another distinction, which isn't very clear in ActionScript, is the distinction between declaration and definition. The declaration is where you tell the

Re: [Flashcoders] Newbie AS3 question

2005-10-31 Thread Robert Tweed
Ian Thomas wrote: Unless someone has coded a very odd compiler*, ... *But then, it _is_ Macromedia. You never know. ;-) Yes, it _is_ Macromedia :-) For a very odd compiler, look no further than Lingo. - Robert ___ Flashcoders mailing list

Re: [Flashcoders] Newbie AS3 question

2005-10-31 Thread Robert Tweed
Andreas Rønning wrote: 2. What the hell is going on with this here class ParseXML{ private var xmlDoc:XML; private function handleXML(){ trace(this); } function ParseXML(url:String){ xmlDoc = new XML(); xmlDoc.ignoreWhite = true; xmlDoc.onLoad =

Re: [Flashcoders] Re: Newbie AS3 question

2005-10-29 Thread Robert Tweed
ryanm wrote: You do know that it (this.) is being added for you at compile time in AS2, right? Who cares? All that means is that there is no semantic difference between the two. Not quite. What it means is that the this is assumed, which is not always what you want. You can force

Re: [Flashcoders] Cyclic dependency bug, simplified

2005-10-26 Thread Robert Tweed
David Rorex wrote: If you want macromedia to respond, might want to contact them directly. I generally find it's better to post to a public list first - especially with something that is likely to be of interest to other developers. I saw JD posting here, so I know he reads this list, if

Re: [Flashcoders] Cyclic dependencies and strong typing - bug?

2005-10-22 Thread Robert Tweed
Robert Edgar wrote: Use events I'm not sure I follow you on this one. My understanding is that buttons and movieclips can generate events that are handled slightly differently to normal function calls, but other events, particularly inter-object messages, are just standard function calls.