Yeah - if I had £1 for every time I said - hmmm, I wish I could redirect all the traces to a different function (like a screen logger) without changing my code too much... I have at least £10. :)
Alias On 10/31/05, Stan Vassilev <[EMAIL PROTECTED]> wrote: > > Well that's one thing I always wanted to do in AS2 so if it stays like > this > it'd be great. > There are many functions that just perfectly without class in front of > them > (after you import the package). > > For example those you mentioned. When I was implementing my trace utils I > was forced to import fmethod.debug.* and still having to type every time > DebugUtils.log(); > > now I could just make it package method and type log(); ... it's great to > have that > > Regards, Stan Vassilev > > ----- Original Message ----- > From: "Spike" <[EMAIL PROTECTED]> > To: "Flashcoders mailing list" <[email protected]> > Sent: Monday, October 31, 2005 8:49 PM > Subject: Re: [Flashcoders] Bizare...AS3.0 packages have methods? > > > It's a method of the package. > > When you create an AS 3 class you can put methods inside the package {} > block, but outside any class definitions. > > I'm not sure why it works that way, but that's the way it works. > > Spike > > On 10/31/05, Martin Wood <[EMAIL PROTECTED]> wrote: > > > > i think its just a function declared with package scope. > > > > > > Mark Lapasa wrote: > > > flash.util.trace() > > > > > > > > > > > > Is that a method of a package? Or a compiler directive? > > _______________________________________________ > > Flashcoders mailing list > > [email protected] > > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > > > > > > -- > -------------------------------------------- > Stephen Milligan > Do you do the Badger? > http://www.yellowbadger.com > > Do you cfeclipse? http://www.cfeclipse.org > _______________________________________________ > Flashcoders mailing list > [email protected] > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > > _______________________________________________ > Flashcoders mailing list > [email protected] > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > _______________________________________________ Flashcoders mailing list [email protected] http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

