[Flashcoders] Local XML parsing?
Is it possible to parse through a local XML document using a standalone player? I have a project that calls for a 'dynamic' way to load in images and descriptions based on the contents of a CDrom. I've always used a php document that acts as XML to do this on the net. However i'm seeing that Flash's security features prohibit it from parsing through a local doc. Any input would be amazing. ___ 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: [Flashcoders] Local XML parsing?
Flash's security when running in a standaline projector .exe does not restrict you from loading in a local XML doc as far as I know. Are you publishing as a standalone projector .exe from Flash? No PHP required. Even on the .net, no PHP required to read XML. Jason Merrill Bank of America Global Technology Operations Learning Leadership Development eTools Multimedia Team -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Shaun Aunchman Sent: Wednesday, March 14, 2007 11:57 AM To: flashcoders@chattyfig.figleaf.com Subject: [Flashcoders] Local XML parsing? Is it possible to parse through a local XML document using a standalone player? I have a project that calls for a 'dynamic' way to load in images and descriptions based on the contents of a CDrom. I've always used a php document that acts as XML to do this on the net. However i'm seeing that Flash's security features prohibit it from parsing through a local doc. Any input would be amazing. ___ 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
Re: [Flashcoders] Local XML parsing?
i had the same problem, so i used php to write a txt file instead. made the extension on the file .xml instead of .txt and it worked great. tony On Mar 14, 2007, at 11:57 AM, Shaun Aunchman wrote: Is it possible to parse through a local XML document using a standalone player? I have a project that calls for a 'dynamic' way to load in images and descriptions based on the contents of a CDrom. I've always used a php document that acts as XML to do this on the net. However i'm seeing that Flash's security features prohibit it from parsing through a local doc. Any input would be amazing. ___ 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
Re: [Flashcoders] Local XML parsing?
There should be no problem loading a local file with the standalone player... /John 14 mar 2007 kl. 16.57 skrev Shaun Aunchman: Is it possible to parse through a local XML document using a standalone player? I have a project that calls for a 'dynamic' way to load in images and descriptions based on the contents of a CDrom. I've always used a php document that acts as XML to do this on the net. However i'm seeing that Flash's security features prohibit it from parsing through a local doc. Any input would be amazing. ___ 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
RE: [Flashcoders] Local XML parsing?
i had the same problem, so i used php to write a txt file instead. made the extension on the file .xml instead of .txt and it worked great. Actually, he didn't ask about writing out XML, just reading it. Jason Merrill Bank of America Global Technology Operations Learning Leadership Development eTools Multimedia Team ___ 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: [Flashcoders] Local XML parsing?
Thanks jason for the reply, I believe i've figured out why my project wasn't working properly. I was using an onRelease handler for a movie clip to trigger the loading of an XML doc. It seems the onLoad handler for my xml instance wan't getting triggered as a result. All i had to do was put xml.load() outside of that handler. worked like a charm. ___ 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