let me rephrase the question then: when I click a button, i want xml1.xml to be loaded when I click another button, i want xml1.xml to be replaced with xml2.xml
thx Ben On 6/9/07, Rákos Attila <[EMAIL PROTECTED]> wrote:
You are the only one who may know how to remove the thumbnails from the stage, since you are the only one who knows how did you created them, stored their references, etc. Your question is totally independent of XML, it's a matter of basic scripting and movieclip handling. Attila bd> hi, bd> small sample: bd> <ankematheve> bd> <concept> bd> <image path="images/a1.jpg" br="413" ho="550" thumbpath= bd> "thumbnails/a1.jpg" thumbwidth="56" thumbheight="75"></image> bd> <image path="images/vue.jpg" br="550" ho="309" thumbpath= bd> "thumbnails/vue.jpg" thumbwidth="56" thumbheight="75"></image> bd> </concept> bd> <details> bd> <image path="images/a1.jpg" br="413" ho="550" thumbpath= bd> "thumbnails/a1.jpg" thumbwidth="56" thumbheight="75"></image> bd> <image path="images/a2.jpg" br="550" ho="413" thumbpath= bd> "thumbnails/a2.jpg" thumbwidth="56" thumbheight="75"></image> bd> </details> bd> </ankematheve> bd> bd> bd> bd> I'd like to be able to load and /or replace sections of this xml file. bd> bd> meaning: bd> when I click a button on stage, i'd like thumbnails(that code has allready bd> been done) to appear from the <concept> node. bd> when I click another button on stage, i'd like that content to be removed bd> (deleted from the stage, but not from the xml file ofcourse) and be replaced bd> by content from the <details> node. bd> bd> yup, I feel stupid, but that's ok! bd> bd> Ben _______________________________________________ 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@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