|
|
![]() |
| Thread Tools | Search this Thread |
#1
| |||
| |||
How to read XML data generated by PHP in FLash I have been trying to write AS3 that can read xml which is dynamically generated by php. I have generated the xml in several ways -- all of which seem to work but I keep getting the error, I have a normal XML file which I chucked together that works fine with the code I have below - this is obviously saved as an xml file as well. What I'm trying to do is generate an XML page using PHP. |
#2
| |||
| |||
Re: How to read XML data generated by PHP in FLash Everything works great! but why? if i replace videos.php with a static xml file, videos.xml the local path works fine. The pocketRFlash.php (in PocketReader) and the Rss.php (in the Reader) handles the XML output to build the string flow. The xmlclass.php is the base class for both. Any ideas about why it doesn?t work with a php script? That is because xml is declared anywhere. Either declare the xml at the top to make it accessible by all the code or inside the event handler. |
#3
| |||
| |||
Re: How to read XML data generated by PHP in FLash XML (EXtensible Markup Language) is a way of structuring information in a text-based file using tags that are similar to HTML tags, but not predefined as HTML tags are. XML was conceived as a means of regaining the power and flexibility of SGML without most of its complexity. Although a restricted form of SGML, XML nonetheless preserves most of SGML's power and richness, and yet still retains all of SGML's commonly used features. Instead, you make up the tags (or use one of the evolving XML application standards) which best define your data structure, or use the XML file generated by conversion from spreadsheet or database content. |
#4
| |||
| |||
Re: How to read XML data generated by PHP in FLash Flash with PHP/XML and I'll be darned, my own post shows up in the search results. I'm (maybe was) having trouble with the XML not loading in time for when it's needed in scrolling content area. Essentially this means that all elements must either have closing tags or be written in a special form (as described below), and that all the elements must nest properly. I think I figured it out, it's all about loading the XML as far up front as I can. Hopefully next time the client tries it out, everything will be fine, no missing content. |
![]() |
|
Tags: flash sites, php file, xml data, xml file |
Thread Tools | Search this Thread |
|
![]() | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Adobe Flash Player 10.3 block sites from storing Flash data on your computer | Pransukh | Windows Software | 5 | 05-07-2011 09:40 PM |
USB flash drive became read only | Liam Roche | Vista Help | 14 | 20-08-2009 11:10 PM |
To read data from dataset in VB | Chandrakant81 | Software Development | 2 | 03-02-2009 06:06 PM |
USB pen drive - can't read the data | Snehasis | Portable Devices | 1 | 22-08-2008 05:25 PM |