Re: [flexcoders] Overall consensus of using the "this" keyword

2006-08-11 Thread Michael Schmalle
> My question is, do all these same rules apply, to ActionScript that is contained within .MXML files?Yes, it is exactly the same. All mxml files are actually quasi classes. The all get compiled into as3 classes.So, if you had a button like    would trace your application. Even if you have 3 VB

RE: [flexcoders] Overall consensus of using the "this" keyword

2006-08-10 Thread Sho Kuwamoto
The "this" keyword refers to the outermost tag that is used in the mxml file. It doesn't matter where in the file you say "this". If you use it on an event handler on a button inside an application called foo.mxml, "this" refers to the application tag.   The only exception to this is if you