[Flashcoders] Re: Re: new logger for as 2
hi hans, this looks really interesting; would be a great project for os- flash :) you definetly should create a page in the wiki for it; would be nice to see if an integration of your system with 'zeroi' would be possible... keep up the good work! henrik -- Henrik Weber Certified Flash Developer __freemind design__ www.freemind-design.de On 8/23/06, Hans Wichman [EMAIL PROTECTED] wrote: Date: Wed, 23 Aug 2006 16:24:00 +0200 From: Hans Wichman [EMAIL PROTECTED] Subject: [Flashcoders] Re: new logger for as 2 To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com Message-ID: [EMAIL PROTECTED] Content-Type: text/plain; charset=ISO-8859-1; format=flowed Hi, ofcourse my hosting provider decided today was a good day to die, sooo here is an alternative link... http://www.screatoris.net/xflas2/ greetz JC On 8/23/06, Hans Wichman [EMAIL PROTECTED] wrote: Hi list, I am writing a new logger for actionscript 2 projects. It's not completely done yet (say about 90%), but i have together a preliminary set of sources and examples. In short some of its nicest features (imo:)): - automatic reflection, eg you use Logger.log (here) and it prints MyClass.myMethod--here - wraps around standard traces/xray/luminicbox etc (can add your own tracer simply) - extensive filtering, eg package filtering (print only info from certain classes), level filtering (print only higher than level ...), floodfiltering (print a message only once every so often, for example to prevent onEnterFrame messages from flooding the level), and composite filters ( ANDing or ORing all of the previous). Filters can be added easily - complete serialization and deserialization of the logger, making it easy to configure the complete logger through an XML file, changing the logger at runtime without recompiling - flash ide/flashdevelop (mtasc) compatible - very extensible Not all of its features are shown yet in the examples, and not all consumers (only trace and xray at this time) and filters have been implemented at this time, but they will be soon. The download contains: - a fla for Flash 8 ready to be run (fla contains documentation for examples) - all sources for the logger and examples It would be greatly appreciated if some of you could test it and provide your feedback. As said please remember its only a kind of preview and the real first release will contain more functionality, more documentation and more examples. If you do look at it, read through the docs on the first frame while running the examples. You can download it from: http://www.objectpainters.com/xflas2/xflas2_v0.1_and_examples.zip greetz JC ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
[Flashcoders] Re: Re: Re: Re: Re: Re: new logger for as 2
hi hans, i'm eager to see your project evolve ;) i can't say whether your observation concerning zeroi (mtasc-only) is correct *g* i use mtasc most of the time; so never tried it without it (it's just a few days out now...) concerning your hd-problems: :-! but sometimes yelling and banging your head on the keyboard helps *just kidding* i hope you can recover the important data and you can soon get back to normal... wish you luck! cu henrik On 8/23/06, Hans Wichman [EMAIL PROTECTED] wrote: Hi Henrik, I've looked at it, and it seems pretty cool, however I'm not sure if it's really zero impact:). I need to look into it, but i think it only works with mtasc? Ruling out the flash ide, seems a bit of an impact to me:). But like I said i really need to look into real good first. Thanks for the tip on the project page I'll do that. Right now, my HD just crashed on me, so i'm kinda busy atm hehehe (* i have to laugh madly or ill start crying instead i think). I'll let you know when the page is up. greetz Hans On 8/23/06, henrik weber (freemind-design) [EMAIL PROTECTED] wrote: that's good news hans! maybe an introduction-post at osflash might speed up the request... btw (from the wiki-instructions): snip You do not have to wait for a project's SVN and mailing lists to be created in order to create your project's web page on the OSFlash wiki. /snip 8-) cu! henrik p.s. have you already looked at zeroi http://www.osflash.org/zeroi? On 8/23/06, Hans Wichman [EMAIL PROTECTED] wrote: Hi, John, tnx, but I'm ok, i used my screatoris page for now located at my workplace, but i might take you up on your offer once i'm further along;), thanks again. Henrik, thanks! Take a look here: http://osflash.org/admin/new_project#project_hosting_request_for_xflas2 working on it:). greetz Hans ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: Re: [Flashcoders] Documentation of the XFactor's XPath, class?
hi jason, the issues you mentioned about the lack of usability regarding the (absolutely brilliant) XPath-Class really sound familiar... :-[ would you mind to share your solution with the list? especially the mentioned CDATA-stuff sounds promising... tia! henrik -- Henrik Weber Certified Flash Developer __freemind-design__ http://www.freemind-design.de flashcoders@chattyfig.figleaf.com wrote: Date: Tue, 27 Jun 2006 22:34:45 -0400 From: Doug Tangren [EMAIL PROTECTED] Subject: Re: [Flashcoders] Documentation of the XFactor's XPath class? To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com Message-ID: [EMAIL PROTECTED] Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed While recently poking around for information on using xfactorstudio's xpath I came across this thread. If possible can you share the source for this utility class you wrote? These would be very helpful. Thanks. Doug Tangren [EMAIL PROTECTED] On Jun 27, 2006, at 4:30 PM, Merrill, Jason wrote: I have some classes I wrote which make using xfactorstudio's Xpath classes easier, if you want them. Comes with a little bit of example code commented in the class. Requires xfactorstudio's classes to be installed already. Here is the comment and example code in one of the classes: Description: This class was created to make getting xfactorstudios' XPath node values much simpler and easier. It handles CDATA nodes, which can be very tricky with XPath. It also converts the raw strings representations of booleans and numbers to their actual primitive values. It will decode character entities in XML values to real representations. For example, it converts amp; to . Usage Example: //initialize the object: var xd:XData = new XData(myXMLObject); //get value from an attribute: var myAttributeString:String = xd.getString(menu/items/item[3] @width); //get value from a node value: var myNodeString:String = xd.getString(menu/items/item[3]/text()); //finds the array position of Welcome in example node item title=Welcome/ var myAttributePosition:Number = xd.getNodePosition(menu/items/item, title, Welcome); //get a CDATA string: var myCDATAParagraph:String = xd.getString(menu/items/item[3]/ content, true); Jason Merrill Bank of America Learning Organization Effectiveness - Technology Solutions -- __freemind design__ Henrik Weber MediaDesign Certified Flash Developer e-mail: [EMAIL PROTECTED] home: www.freemind-design.de fon.: [+49] (0)6838-986851 mobile: [+49] (0)160-7107889 headerShortcuts: a=action; d=decision; q=question; i=information ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: Re: [Flashcoders] Documentation of the XFactor's XPath, class?
hi jason, the issues you mentioned about the lack of usability regarding the (absolutely brilliant) XPath-Class really sound familiar... :-[ would you mind to share your solution with the list? especially the mentioned CDATA-stuff sounds promising... tia! henrik -- Henrik Weber Certified Flash Developer __freemind-design__ http://www.freemind-design.de flashcoders@chattyfig.figleaf.com wrote: Date: Tue, 27 Jun 2006 22:34:45 -0400 From: Doug Tangren [EMAIL PROTECTED] Subject: Re: [Flashcoders] Documentation of the XFactor's XPath class? To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com Message-ID: [EMAIL PROTECTED] Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed While recently poking around for information on using xfactorstudio's xpath I came across this thread. If possible can you share the source for this utility class you wrote? These would be very helpful. Thanks. Doug Tangren [EMAIL PROTECTED] On Jun 27, 2006, at 4:30 PM, Merrill, Jason wrote: I have some classes I wrote which make using xfactorstudio's Xpath classes easier, if you want them. Comes with a little bit of example code commented in the class. Requires xfactorstudio's classes to be installed already. Here is the comment and example code in one of the classes: Description: This class was created to make getting xfactorstudios' XPath node values much simpler and easier. It handles CDATA nodes, which can be very tricky with XPath. It also converts the raw strings representations of booleans and numbers to their actual primitive values. It will decode character entities in XML values to real representations. For example, it converts amp; to . Usage Example: //initialize the object: var xd:XData = new XData(myXMLObject); //get value from an attribute: var myAttributeString:String = xd.getString(menu/items/item[3] @width); //get value from a node value: var myNodeString:String = xd.getString(menu/items/item[3]/text()); //finds the array position of Welcome in example node item title=Welcome/ var myAttributePosition:Number = xd.getNodePosition(menu/items/item, title, Welcome); //get a CDATA string: var myCDATAParagraph:String = xd.getString(menu/items/item[3]/ content, true); Jason Merrill Bank of America Learning Organization Effectiveness - Technology Solutions ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: Re: [Flashcoders] Documentation of the XFactor's XPath, class?
hi jason, the issues you mentioned about the lack of usability regarding the (absolutely brilliant) XPath-Class really sound familiar... :-[ would you mind to share your solution with the list? especially the mentioned CDATA-stuff sounds promising... tia! henrik -- Henrik Weber Certified Flash Developer __freemind-design__ http://www.freemind-design.de flashcoders@chattyfig.figleaf.com wrote: Date: Tue, 27 Jun 2006 22:34:45 -0400 From: Doug Tangren [EMAIL PROTECTED] Subject: Re: [Flashcoders] Documentation of the XFactor's XPath class? To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com Message-ID: [EMAIL PROTECTED] Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed While recently poking around for information on using xfactorstudio's xpath I came across this thread. If possible can you share the source for this utility class you wrote? These would be very helpful. Thanks. Doug Tangren [EMAIL PROTECTED] On Jun 27, 2006, at 4:30 PM, Merrill, Jason wrote: I have some classes I wrote which make using xfactorstudio's Xpath classes easier, if you want them. Comes with a little bit of example code commented in the class. Requires xfactorstudio's classes to be installed already. Here is the comment and example code in one of the classes: Description: This class was created to make getting xfactorstudios' XPath node values much simpler and easier. It handles CDATA nodes, which can be very tricky with XPath. It also converts the raw strings representations of booleans and numbers to their actual primitive values. It will decode character entities in XML values to real representations. For example, it converts amp; to . Usage Example: //initialize the object: var xd:XData = new XData(myXMLObject); //get value from an attribute: var myAttributeString:String = xd.getString(menu/items/item[3] @width); //get value from a node value: var myNodeString:String = xd.getString(menu/items/item[3]/text()); //finds the array position of Welcome in example node item title=Welcome/ var myAttributePosition:Number = xd.getNodePosition(menu/items/item, title, Welcome); //get a CDATA string: var myCDATAParagraph:String = xd.getString(menu/items/item[3]/ content, true); Jason Merrill Bank of America Learning Organization Effectiveness - Technology Solutions ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: Re: Re: [Flashcoders] Documentation of the XFactor's XPath, class?
thx a lot! :-) sorry for buggin everyone with my repeated/multiplied message; somehow my mail-account was freakin... greeetz! henrik Date: Wed, 28 Jun 2006 13:55:52 -0400 From: Merrill, Jason [EMAIL PROTECTED] Subject: RE: Re: [Flashcoders] Documentation of the XFactor's XPath, class? To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com Message-ID: [EMAIL PROTECTED] Content-Type: text/plain; charset=us-ascii Sure - will send offlist. Jason Merrill Bank of America Learning Organization Effectiveness - Technology Solutions -Original Message- From: [EMAIL PROTECTED] [mailto:flashcoders- [EMAIL PROTECTED] On Behalf Of henrik weber (freemind-design) Sent: Wednesday, June 28, 2006 1:06 PM To: flashcoders@chattyfig.figleaf.com Subject: Re: Re: [Flashcoders] Documentation of the XFactor's XPath, class? hi jason, the issues you mentioned about the lack of usability regarding the (absolutely brilliant) XPath-Class really sound familiar... :-[ would you mind to share your solution with the list? especially the mentioned CDATA-stuff sounds promising... tia! henrik -- Henrik Weber Certified Flash Developer __freemind-design__ http://www.freemind-design.de flashcoders@chattyfig.figleaf.com wrote: Date: Tue, 27 Jun 2006 22:34:45 -0400 From: Doug Tangren [EMAIL PROTECTED] Subject: Re: [Flashcoders] Documentation of the XFactor's XPath class? To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com Message-ID: [EMAIL PROTECTED] Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed While recently poking around for information on using xfactorstudio's xpath I came across this thread. If possible can you share the source for this utility class you wrote? These would be very helpful. Thanks. Doug Tangren [EMAIL PROTECTED] ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com