From the course: Adobe Animate CC: Data-Driven Animation

Unlock the full course today

Join today to access over 22,400 courses taught by industry experts or purchase this course individually.

Rendering title instances

Rendering title instances - Adobe Animate Tutorial

From the course: Adobe Animate CC: Data-Driven Animation

Start my 1-month free trial

Rendering title instances

- [Voiceover] The next piece of functionality for this project is to render each item entry from the RSS data, using the ItemRenderer movie clip symbol within our project library. So going over to our library, you'll notice, here's our ItemRenderer. But how are we going to be able to address this through JavaScript? That's where this little Linkage column comes into play. If we double click on that, we can give ItemRenderer a Linkage ID, and we can even use the same name. So that's what I'm going to do, so, ItemRenderer. Now, we have a Linkage ID of ItemRenderer for our ItemRenderer. We're able to pull dynamic copies of this, dynamic instances, through JavaScript. Going back into our Actions panel, let's go down below the Ajax function. I'm going to paste in a new snippet. This snippet is called renderItems, and we actually want this to fire off right when all of our Ajax is finished. So right at the bottom of our success message here, I'm going to replace console.log with a call to…

Contents