I think this is link with Cross-Origin Resource Sharing policy. How can I get around this? But I could be wrong.
Maybe someone has experience in the integration web ads?
Hi all,
I'm trying integrate web api ads. I get JSON response, for example:
[{"adimageheight":768,"adimageurl":"http:\/\/addeals.s3.amazonaws.com\/campaigns\/pub8\/1024x768_hangman_test.jpg","adimagewidth":1024,"adtrackinglink":"http:\/\/ads.addealsnetwork.com\/AdDeals\/Tracking\/Redirect?aid=696&akey=0PIIO9XJOC6Z&oapi=1&fcp=1&deviceID=&advertiserUDID=USER_DYNAMIC_ADVERTISING_ID&dmodel=&os=8.1&cid=775&mop=&conn=CELLULAR_UNKNOWN&creativeID=264&usragent=&usrid=1&adw=1024&adh=768"}][/code:9rg7fx35]I parse this json with json plugin and get image URL ("adimageurl"), but I can't load image in sprite from this url, why? But this image open in browser and can invoke download. How i can solve this problem?
Develop games in your browser. Powerful, performant & highly capable.
Ok, I understood, thank you korbaach for help!
Hi korbaach
Yes you are right, it is JSON who initially comes as a response from a web service. I tried to get this values through AJAX object and load in XML.
Thanks for the link to JSON plugin, but I don't know how use it with AJAX.Last Data. I will be grateful for any help with this.
zenox98
Thank you for answer! But is there any way for this case?
Hi all!
For example i have this XML:
{
"1": 100,
"2": 200,
"3": "http://1",
"4": "http://2" ,
}
How i can get "100", "200", "http://1" and "http://2" from XML?
I read manuals and tutorials but i can't do it with this.
Thank you!
[Android] Update Heart Box v.0.1.6:
raulcg1981
But you write:
"1-Export proyect construct2 to windows 10 universal without pubcenter object"
How i control ads in constrcut2 without pubcenter object?
Thank you for sharing! I think Ashley should pay attention to it. This is solution if you want show ads every time, but what do if I want hide it some time, and then show it again?
—
Good! Thank you for answer!)
Hi —
I have the same problem. You have solved?
Member since 30 Sep, 2015