Join Todd Perkins for an in-depth discussion in this video Formatting dates, part of ActionScript 3.0: Working with XML.
Now we will take a look at modifying the publish date for the each of blog episodes.…If you are following along go to your local root folder and mine is in My Sites folder so I am going to there…in the ActionScript folder and then in 06 folder.…I am going to open up 02_date.fla.…Now you can always just grab this from the Exercisefiles folder in the Chapter6 folder…or you can just use the same file from the last exercise.…So I am going to open up that file here and let's go to the first keyframe of the Actions Layer…and open up the Actions Panel and scroll down to the Update Text function.…
At the very top of the Update Text function we are going…to create a variable called Date and this is going to represent just a date.…It's going to be a string and I am going to get the value from the previous value that was in our text field.…I am going to select that entire value from reader.episodes all the way to pub date and I am going to press Command…or Ctrl+X to cut the value and then for our date I will paste the value using Command or Ctrl+V…
- 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.