  | |  | xPath | xPath
2004-02-25 - By Martin Klasson
Back
Is there any great as1.0 classes/prototypes out there
that can make the xml traversing and so in a very easy way ?
I have had some xmls that is dynamically generated by serverscripts.
And I got recursive functions and so.
And I use the custom methods of the xml object, as in firstchild,
nextsibling, childnodes.
Though now when the server-dude keep on making some changes to the xml
structure
my lines of traversing is getting fucked up of course.
And is there some smarter and nice ways to deal with loaded xml-files ?
Martin Klasson
Programmer/Graphic designer
Paregos
P.O. Box 29
SE-931 21 Skellefte?, Sweden
Direct: +46 (0)910 71 57 05
Mobile: +46 (0)73 096 45 61
www.paregos.com
-- --Ursprungligt meddelande-- --
Från: ryanm [mailto:ryanm@(protected)]
Skickat: den 24 februari 2004 20:26
Till: flashcoders@(protected)
Ämne: Re: [Flashcoders] Online trace
> Can I replace the trace-method ?
> I wish to have that trace-command also write to a textfield for
> online-debugging.
>
> Or is the only way to perhaps write a debugger function as in
> MovieClip.prototype.debugger = function(txt) {
> // simplied function..
> trace(txt)
> txtField_txt.text = txt+ "\n ";
> }
>
In earlier versions of Flash, I used to always put a text field on the
uppermost layer of the root timeline with a variable name of "debug ", so
that from anywhere in the movie I could always do this:
_root.debug = VarToTest;
...to display variable states and stuff. I pretty much stopped doing it
with Flash MX, but the advantage it has is that it works online rather than
only in the IDE.
Writing to a text file will require a server-side script.
ryanm
=-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- --
Supported by Fig Leaf Software
=-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- --
Be sure to check the archives and the wiki: http://chattyfig.figleaf.com/
=-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- --
http://chattyfig.figleaf.com/cgi-bin/ezmlm-cgi?1:mss:105113
=-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- --
To unsubscribe send a blank e-mail to:
Normal Mode: flashcoders-unsubscribe@(protected)
Digest Mode: flashcoders-digest-unsubscrive@(protected)
=-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- --
Supported by Fig Leaf Software
=-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- --
Be sure to check the archives and the wiki:
http://chattyfig.figleaf.com/
=-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- --
http://chattyfig.figleaf.com/cgi-bin/ezmlm-cgi?1:mss:105163
=-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- --
To unsubscribe send a blank e-mail to:
Normal Mode: flashcoders-unsubscribe@(protected)
Digest Mode: flashcoders-digest-unsubscrive@(protected)
|
|
 |