TheMSsForum.com >> Csharp >> Antialiasing the text in Windows Forms :: I need to find how to format the xml appender so that it will create XML output. Regex Q (Another one) Could anyone tell me why the following do not match? http://www.themssforum.com/Csharp/Antialiasing-textHOME | Hi, guys!
I have to use a very long function 3 or 4 times. This function builds a list using attachMovie method. Daily Python-URL:: The idea is to forget everything about SQL and just worrying about normal classes and objects. XPath is the standard way to convey the location of an XML node. http://hem.passagen.se/eff/2004_11_01_url-archive.htmHOME |
The code to load the XML list is:
var brXML:XML = new XML();
// I use the tipoDisco var to change the xml I want to load...
var tipoDisco:String = "trabalhos/xml/todos.xml";
brXML.ignoreWhite = true; stumpted - FlashDen:: xmlObject.node[9]; Posted 6 months ago. Content I cant tell you the exact order of execution for your specific code without http://flashden.net/forums/thread/stumpted/4667HOME |
brXML.load(tipoDisco);
// on load...
brXML.onLoad = function(success) {
if (success) {
geraLista(this);
} else {
trace("XML was not loaded");
}
};
Then I have 3 buttons with the actions...
// asking a new XML document...
this.producer_btn.onRelease = function() {
tipoDisco = "trabalhos/xml/produtor.xml"; Flash App development:: frame 2: checks to see if xml is loaded, if so, calls the convert function, and goes to frame 4 from what i could tell, if i put all the code for say a http://www.twelvestone.com/forum_thread/view/4788HOME |
brXML.load(tipoDisco);
};
When I click the button, it loads the correct XML and rebuild the list, but the old list CONTINUES above the new one. How can I say "Hey, flash! Forget the old XML and, now, use THIS, AND JUST THIS XML to build the new list" ?
Is it possible? :jail: I´ve tried the XML.removeNode method but it does not work.
Any Idea? :red:
Thanks a lot to everyone!
did you embed the code in this three buttons?
I think the problem is in a variable named tipoDisco
var tipoDisco:String = "trabalhos/xml/todos.xml";
instead, make it global
_global.tipoDisco = "trabalhos/xml/todos.xml";
I think it's better to put all your codes in a single frame.
and remove the this
_root.producer_btn.onRelease = function() {
tipoDisco = "trabalhos/xml/produtor.xml";
brXML.load(tipoDisco);
};
in which case, you don't have to use _global anymore.
Where's The Advantage In Windows Genuine Advantage?
Stocks Bounce After S&P Joins Bear Market
|