Can i access a global variable by Java Script?

For developers using the Construct 2 Javascript SDK

Post » Mon Apr 07, 2014 3:34 pm

Hi,

Is it possible to access a C2 global variable using the Browser object's Execute java script action?

I'm adapting a plugin to work in C2. The plugin gets a URL of an image from a function and then appends the document with an img tag.
I would like to get the image URL form this function inside C2 and send it to a 'Load image from URL' action.
Can it be done?
B
16
S
7
G
1
Posts: 161
Reputation: 3,131

Return to Javascript SDK

Who is online

Users browsing this forum: No registered users and 0 guests