accessing edittime property in external module

For developers using the Construct 2 Javascript SDK

Post » Thu Dec 17, 2015 3:58 pm

Hi, pls help me on the below.

I am creating a plugin. It uses one external JS file. That, in turn, has a load function. The load function depends on another external JS file which adds an external source in HEAD[0] which has the source of load. So, I have both the files listed as dependancies in edit time.

Now, an API key needs to be passed from edit time for the external service. This, user can enter in the property list. the external file #2 needs to have the key, to connect to the service.

How can I access the edit time property in an external file? Will I have to add the whole code in runtime?
B
9
S
2
Posts: 21
Reputation: 640

Post » Wed Dec 23, 2015 6:37 pm

Anyone?
B
9
S
2
Posts: 21
Reputation: 640


Return to Javascript SDK

Who is online

Users browsing this forum: No registered users and 0 guests