Hey Everyone,
I am working with our developer who will be helping me do some back end development to load in dynamic content. He will be providing me some JavaScript that will load (3) dynamic variables. However, I have never messed with dynamic JS in construct and I am not sure how to post that data.
QUESTION:
1. How would I inject the (3) JS objects "artist,bio,trait" into Construct as text.
2. Do I need to make a custom plugin for this?
Quick "fake" JS snippet
//this function goes into construct
function MusicToConstruct(data) {
//here's a fake data object. Anytime the MusicToConstruct function is called by my code, it will contain this data object. So remove this when we get the real one working
var data = {
artist: 'Alestorm',
bio: 'blah blah blah i\'m a long string',
trait: 'pirate metal'
}
//end fake data object
}// JavaScript Document[/code:3ufvqt71]