Join Todd Perkins for an in-depth discussion in this video Linking to an online blog, part of ActionScript 3.0: Working with XML.
Now we will take a look at creating a link to our online blog.…If you are following along open up your hard drive and then go to your local root folder.…Find the ActionScript folder then browse to the 06folder then open up 03_viewonline.…Now if you are following along you can just use the same file from the last exercise…or you can get this file in the Exercisefiles folder in Chapter6.…So let's go to the first keyframe of the Actions Layer and open up the Actions Panel and find the RSS processed function.…
At the very bottom of this function we are going to add an event listener to our button.…Now I call the button view_btn so I am going to type view_btn.…I am going to add an event listener and we are going to listen for a mouse click and we will run a function called viewonline.…Now let's define a viewonline function.…All we are going to do here is just use navigate to URL to display URL.…
And instead of navigate to URL I am just going to create a new URLRequest right there.…And the string is going to come from the current selected index so it's going to be reader.episodes…
- 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
Exploring an RSS file3m 1s
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.