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,
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
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
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 =
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
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
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.
7 matches
Mail list logo