Join Todd Perkins for an in-depth discussion in this video Using PHP to access remote XML, part of ActionScript 3.0: Working with XML.
Now, let's take a look at using PHP to grab data from a remote XML file and bring it into Flash.…If you are following along, browse to your root folder for your testing server, and mine is in my site's folder.…Then I have a folder called ActionScript.…So browse to the ActionScript folder.…In there, I've created a new directory called 05.…So go ahead and create that directory right now.…Instead of there, there is another directory called 05_05.…If you access to the exercise files, you can find the 05_05 folder in the Chapter 05 folder.…
Then you can just copy the files over to this directory.…If you don't have access to the exercise files, then create this directory now.…Inside of that folder, there are a few files 05_remote.fla, data.xml and grabber.php.…If you don't have access to the exercise files, create the data.xml and grabber.php files now.…Both of those files are empty text documents.…Just make sure you give them the right extensions.…You are going to need to open up 05_remote.fla in Flash.…If you don't have access to the exercise files, again you can just create FLA file,…
- Understanding XML data
- Creating XML in ActionScript 3.0
- Working with external XML data
- Building a reusable RSS reader class
- Using PHP with XML
- Working with blogs
- Working with Flickr images using the Flickr API
- Working with podcasts
Skill Level Intermediate
1. Understanding XML Data
2. Creating XML in ActionScript 3.0
3. Working with External XML Data
4. Building a Reusable RSS Reader Class
5. Using PHP with XML Data
6. Working with Blogs
7. Working with the Flickr API
8. Working with Podcasts
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
This will not affect your course history, your reports, or your certificates of completion for this course.Cancel
Take notes with your new membership!
Type in the entry box, then click Enter to save your note.
1:30Press on any video thumbnail to jump immediately to the timecode shown.
Notes are saved with you account but can also be exported as plain text, MS Word, PDF, Google Doc, or Evernote.