As everything stands now, the carousel only switches content based off of user interaction. We will want a way to automate the transitions as well - so that they can run independent of user interaction. To enable this, we’re going to take advantage of the CreateJS Ticker.
- As everything stands now the carousel…only switches content based off of user interaction.…We want a way to automate the transitions as well…so that they can run independent of user interaction.…To enable this we're going to…take advantage of the create JS ticker.…Let's clean up some of these variables up top here…by just removing some white space and so forth.…And then I'm gonna paste in some snippets…from our snippets file.…And we have a few new things here.…One is a swap interval.…
The other is track Delta.…Now swap interval is set to three.…Three defines how many seconds we want the timer to…go ahead and automatically switch the image.…Track Delta is sort of like a counter…that we're going to use in order to…track the Delta of our tick…and compare that with our interval.…So it's a way of managing time.…To use the ticker it's part of create JS…so we invoke createjs.ticker…and then we bind a tick event listener to the ticker…and the function that gets called…on each tick is called on tick.…
Now the tick is going to fire based on the fps…
- Using XML and JSON
- Setting up your Animate project
- Building a carousel container
- Applying animation
- Creating titles with dynamic text
- Ingesting external data
- Rendering images
- Automating transitions
- Designing an RSS display
- Programming the RSS display
Skill Level Intermediate
1. Dynamic Data Fundamentals
About XML and JSON1m 49s
2. Design a Web Carousel
3. Program the Web Carousel
4. Design an RSS Display
5. Program the RSS Display
- 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.